org.springframework.osgi.samples.weather.test
Class WeatherListener

java.lang.Object
  extended by org.springframework.osgi.samples.weather.test.WeatherListener
All Implemented Interfaces:
TargetSourceLifecycleListener

public class WeatherListener
extends Object
implements TargetSourceLifecycleListener


Constructor Summary
WeatherListener()
           
 
Method Summary
 void bind(Object obj, Map properties)
          Called when a service is being binded inside the proxy (be it single or multi value).
 void unbind(Object obj, Map properties)
          Called when a service is being unbinded inside the proxy (be it single or multi value).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeatherListener

public WeatherListener()
Method Detail

bind

public void bind(Object obj,
                 Map properties)
Description copied from interface: TargetSourceLifecycleListener
Called when a service is being binded inside the proxy (be it single or multi value). The service properties are made available as a Map which can be safely cast to a Dictionary if needed.

Specified by:
bind in interface TargetSourceLifecycleListener
Parameters:
obj - the OSGi service instance
properties - the service properties

unbind

public void unbind(Object obj,
                   Map properties)
Description copied from interface: TargetSourceLifecycleListener
Called when a service is being unbinded inside the proxy (be it single or multi value). The service properties are made available as a Map which can be safely cast to a Dictionary if needed.

Specified by:
unbind in interface TargetSourceLifecycleListener
Parameters:
obj - the OSGi service instance
properties - the service properties


Copyright © 2006-2007 Spring Framework. All Rights Reserved.