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
OsgiServiceLifecycleListener
Map
which can be safely cast to a Dictionary
if needed.bind
in interface OsgiServiceLifecycleListener
service
- 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
OsgiServiceLifecycleListener
Map
which can be safely cast to a Dictionary
if needed.unbind
in interface OsgiServiceLifecycleListener
service
- the OSGi service instanceproperties
- the service propertiesException
- custom exception that is logged but not propagated to other listenersCopyright © 2006–2017. All rights reserved.