|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OsgiServiceLifecycleListener
Listener tracking binding and unbinding of OSGi services used as normal object references inside a Spring application context. 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.
Method Summary | |
---|---|
void |
bind(Object service,
Map properties)
Called when a service is being binded inside the proxy (be it single or multi value). |
void |
unbind(Object service,
Map properties)
Called when a service is being unbinded inside the proxy (be it single or multi value). |
Method Detail |
---|
void bind(Object service, Map properties) throws Exception
Map
which can be safely cast to a Dictionary
if needed.
service
- the OSGi service instanceproperties
- the service properties
Exception
- custom exception that is logged but not propagated to other listenersvoid unbind(Object service, Map properties) throws Exception
Map
which can be safely cast to a Dictionary
if needed.
service
- the OSGi service instanceproperties
- the service 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 |