Application Platform 10.3 | Application Platform API | Looking up Services from the OSGi Registry | Configuring POJO Services Dynamically
 
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.
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.