public interface OsgiServiceRegistrationListener
OsgiServiceFactoryBean| Modifier and Type | Method and Description |
|---|---|
void |
registered(java.lang.Object service,
java.util.Map serviceProperties)
Called when the the service exported has been registered in the OSGi space.
|
void |
unregistered(java.lang.Object service,
java.util.Map serviceProperties)
Called when the OSGi service has been unregistered (removed from OSGi space).
|
void registered(java.lang.Object service,
java.util.Map serviceProperties)
throws java.lang.Exception
Map which can be safely cast to a Dictionary if needed.service - object registered as an OSGi serviceserviceProperties - OSGi service registration propertiesjava.lang.Exception - custom exception that is logged but not propagated to other listenersvoid unregistered(java.lang.Object service,
java.util.Map serviceProperties)
throws java.lang.Exception
Map which can be safely cast to a Dictionary if needed.service - object unregistered as a service from the OSGi spaceserviceProperties - OSGi service registration propertiesjava.lang.Exception - custom exception that is logged but not propagated to other listeners