org.ow2.jonas.cmi.internal
Class LoadBalancingListener

java.lang.Object
  extended by org.ow2.jonas.cmi.internal.LoadBalancingListener
All Implemented Interfaces:
EventListener, org.osgi.framework.ServiceListener

public class LoadBalancingListener
extends Object
implements org.osgi.framework.ServiceListener

Listener for services that export Load balancing policies and strategies.

Author:
eyindanga

Constructor Summary
LoadBalancingListener()
          Contructor without fields.
LoadBalancingListener(CmiServicePolicyStrategyManager cmiPolicyStrategyManager)
          Constructor with current cmi service.
 
Method Summary
 void serviceChanged(org.osgi.framework.ServiceEvent arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadBalancingListener

public LoadBalancingListener()
Contructor without fields.


LoadBalancingListener

public LoadBalancingListener(CmiServicePolicyStrategyManager cmiPolicyStrategyManager)
Constructor with current cmi service.

Parameters:
cmiPolicyStrategyManager - the policy strategy manager that will be used by the listener. This manager will be notified all events from a service that export policies/strategies.
Method Detail

serviceChanged

public void serviceChanged(org.osgi.framework.ServiceEvent arg0)
Specified by:
serviceChanged in interface org.osgi.framework.ServiceListener


Copyright © 2010 OW2 Consortium. All Rights Reserved.