public interface OsgiServiceRegistrationListener
OsgiServiceFactoryBean
Modifier and Type | Method and Description |
---|---|
void |
registered(Object service,
Map serviceProperties)
Called when the the service exported has been registered in the OSGi space.
|
void |
unregistered(Object service,
Map serviceProperties)
Called when the OSGi service has been unregistered (removed from OSGi space).
|
void registered(Object service, Map serviceProperties) throws Exception
Map
which can be safely cast to a Dictionary
if needed.service
- object registered as an OSGi serviceserviceProperties
- OSGi service registration propertiesException
- custom exception that is logged but not propagated to other listenersvoid unregistered(Object service, Map serviceProperties) throws 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 propertiesException
- custom exception that is logged but not propagated to other listenersCopyright © 2006–2016. All rights reserved.