org.apache.geronimo.clustering.wadi
Class RoundRobinBackingStrategyFactoryGBean

java.lang.Object
  extended by org.apache.geronimo.clustering.wadi.RoundRobinBackingStrategyFactoryGBean
All Implemented Interfaces:
org.apache.geronimo.gbean.GBeanLifecycle, org.codehaus.wadi.replication.strategy.BackingStrategyFactory

public class RoundRobinBackingStrategyFactoryGBean
extends Object
implements org.codehaus.wadi.replication.strategy.BackingStrategyFactory, org.apache.geronimo.gbean.GBeanLifecycle


Field Summary
static String GBEAN_ATTR_NB_REPLICA
           
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
RoundRobinBackingStrategyFactoryGBean(int nbReplica)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 org.codehaus.wadi.replication.strategy.BackingStrategy factory()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO

GBEAN_ATTR_NB_REPLICA

public static final String GBEAN_ATTR_NB_REPLICA
See Also:
Constant Field Values
Constructor Detail

RoundRobinBackingStrategyFactoryGBean

public RoundRobinBackingStrategyFactoryGBean(int nbReplica)
Method Detail

factory

public org.codehaus.wadi.replication.strategy.BackingStrategy factory()
Specified by:
factory in interface org.codehaus.wadi.replication.strategy.BackingStrategyFactory

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

doStart

public void doStart()
             throws Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doStop

public void doStop()
            throws Exception
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.