Remove a service previously added using
putService(). The specified service is removed from
this provider. It will no longer be returned by
getService() and its information will be removed
from this provider's Hashtable.
Also, if there is a security manager, its
checkSecurityAccess method is called with the string
"removeProviderProperty."+name, where name is
the provider name, to see if it's ok to remove this provider's
properties. If the default implementation of
checkSecurityAccess is used (that is, that method is not
overriden), then this results in a call to the security manager's
checkPermission method with a
SecurityPermission("removeProviderProperty."+name)
permission.
s | the Service to be removed |
SecurityException
| if a security manager exists and its java.lang.SecurityManager.checkSecurityAccess method denies
access to remove this provider's properties. | |
NullPointerException | if s is null |
Diagram: Security