org.osgi.framework.Configurable Interface Reference

List of all members.


Detailed Description

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.

Version:
Revision
1.11
Deprecated:
As of 1.2. Please use Configuration Admin service.

Definition at line 33 of file Configurable.java.


Public Member Functions

Object getConfigurationObject ()
 Returns this service's configuration object.

Member Function Documentation

Object org.osgi.framework.Configurable.getConfigurationObject (  ) 

Returns this service's configuration object.

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.

Returns:
The configuration object for this service.
Exceptions:
java.lang.SecurityException If the caller does not have an appropriate permission and the Java Runtime Environment supports permissions.
Deprecated:
As of 1.2. Please use Configuration Admin service.


The documentation for this interface was generated from the following file:
Generated on Mon Jan 11 21:19:24 2010 for OpenMobileIS by  doxygen 1.5.4