public class ServiceProviderTCCLInterceptor.ServiceProviderTCCLListener extends java.lang.Object implements OsgiServiceLifecycleListener
| Constructor and Description |
|---|
ServiceProviderTCCLListener() |
| 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).
|
public void bind(java.lang.Object service,
java.util.Map properties)
throws java.lang.Exception
OsgiServiceLifecycleListenerMap which can be safely cast to a Dictionary if needed.bind in interface OsgiServiceLifecycleListenerservice - the OSGi service instanceproperties - the service propertiesjava.lang.Exception - custom exception that is logged but not propagated to other listenerspublic void unbind(java.lang.Object service,
java.util.Map properties)
throws java.lang.Exception
OsgiServiceLifecycleListenerMap which can be safely cast to a Dictionary if needed.unbind in interface OsgiServiceLifecycleListenerservice - the OSGi service instanceproperties - the service propertiesjava.lang.Exception - custom exception that is logged but not propagated to other listeners