|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OsgiServiceRegistrationListener
Registration listener that needs notifications of registration and unregistration of OSGi services exported through Spring OSGi. Implementations can throws exceptions if they need/have to but they are not be propagated to other listeners nor do they stop the other listeners from being notified.
OsgiServiceFactoryBean
Method Summary | |
---|---|
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). |
Method Detail |
---|
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 properties
Exception
- 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 properties
Exception
- custom exception that is logged but not propagated to
other listeners
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |