Configuring POJO Services Dynamically
Application Platform enables you to dynamically configure a published POJO service by using the
@Service annotation. For more information about the
@Service annotation, see
Publishing POJOs as OSGi Services.
For information about how to enable dynamic service configuration in
Application Platform projects, see
Using the Project Dynamic Configuration.
The following table describes the class you can use to dynamically configure a published POJO service.
Class and Description |
org.osgi.service.cm.ManagedService For information, see the OSGi documentation. |
The following table describes the public API methods in the ManagedService class and specifies the return type and method arguments for each method type.
Method Name | Return Type | Method Arguments | Description |
update | void | java.util.Dictionary<java. lang.String,?> properties | For information about the updated method, see the OSGi documentation. |