public interface OsgiServiceLifecycleListener
| Modifier and Type | Method and Description |
|---|---|
void |
bind(java.lang.Object service,
java.util.Map properties)
Called when a service is being binded inside the proxy (be it single or multi value).
|
void |
unbind(java.lang.Object service,
java.util.Map properties)
Called when a service is being unbinded inside the proxy (be it single or multi value).
|
void bind(java.lang.Object service,
java.util.Map properties)
throws java.lang.Exception
Map which can be safely cast to a Dictionary if needed.service - the OSGi service instanceproperties - the service propertiesjava.lang.Exception - custom exception that is logged but not propagated to other listenersvoid unbind(java.lang.Object service,
java.util.Map properties)
throws java.lang.Exception
Map which can be safely cast to a Dictionary if needed.service - the OSGi service instanceproperties - the service propertiesjava.lang.Exception - custom exception that is logged but not propagated to other listeners