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