public interface OsgiServiceLifecycleListener
Modifier and Type | Method and Description |
---|---|
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).
|
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 propertiesException
- 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 propertiesException
- custom exception that is logged but not propagated to other listenersCopyright © 2006–2013. All rights reserved.