ch.elca.el4j.services.remoting.protocol.loadbalancing.protocol
Class LoadBalancingProtocolConfiguration

java.lang.Object
  extended by ch.elca.el4j.services.remoting.protocol.loadbalancing.protocol.LoadBalancingProtocolConfiguration
All Implemented Interfaces:
ProtocolSpecificConfiguration, InitializingBean

public class LoadBalancingProtocolConfiguration
extends Object
implements ProtocolSpecificConfiguration

Defines the configuration parameters for LoadBalancingProtocol.

Author:
Stefan Pleisch (SPL)
File-location:
LoadBalancingProtocolConfiguration
Last check-in date:
2009-08-04 15:17:52 +0200 (Di, 04. Aug 2009) by swismer for revision 3880

Field Summary
protected  AbstractPolicy m_policy
           
protected  AbstractRemotingProtocol[] m_protocols
           
 
Constructor Summary
LoadBalancingProtocolConfiguration()
           
 
Method Summary
 void afterPropertiesSet()
          
 AbstractPolicy getPolicy()
           
 AbstractRemotingProtocol[] getProtocols()
           
 void setPolicy(AbstractPolicy policy)
          Installs the policy used to select the protocols.
 void setProtocols(AbstractRemotingProtocol[] protocols)
          Setter method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_protocols

protected AbstractRemotingProtocol[] m_protocols

m_policy

protected AbstractPolicy m_policy
Constructor Detail

LoadBalancingProtocolConfiguration

public LoadBalancingProtocolConfiguration()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

setProtocols

public void setProtocols(AbstractRemotingProtocol[] protocols)
Setter method.

Parameters:
protocols - Available protocols

getProtocols

public AbstractRemotingProtocol[] getProtocols()
Returns:
Defined protocols, or arguments to protocols

setPolicy

public void setPolicy(AbstractPolicy policy)
Installs the policy used to select the protocols.

Parameters:
policy - The policy to install

getPolicy

public AbstractPolicy getPolicy()
Returns:
Policy map


Copyright © 2005-2011 ELCA. All Rights Reserved.