|
OSGi™ Service Platform Core Specification Release 4 Version 4.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Configurable
Supports a configuration object.
Configurable
is an interface that should be used by a bundle
developer in support of a configurable service. Bundles that need to
configure a service may test to determine if the service object is an
instanceof Configurable
.
Method Summary | |
---|---|
java.lang.Object |
getConfigurationObject()
Deprecated. As of 1.2. Please use Configuration Admin service. |
Method Detail |
---|
java.lang.Object getConfigurationObject()
Services implementing Configurable
should take care when
returning a service configuration object since this object is probably
sensitive.
If the Java Runtime Environment supports permissions, it is recommended that the caller is checked for some appropriate permission before returning the configuration object.
java.lang.SecurityException
- If the caller does not have an
appropriate permission and the Java Runtime Environment supports
permissions.
|
OSGi™ Service Platform Core Specification Release 4 Version 4.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |