org.apache.geronimo.clustering.wadi
Class TribesDispatcherHolder

java.lang.Object
  extended by org.apache.geronimo.clustering.wadi.TribesDispatcherHolder
All Implemented Interfaces:
DispatcherHolder, GBeanLifecycle

public class TribesDispatcherHolder
extends Object
implements GBeanLifecycle, DispatcherHolder


Field Summary
static String GBEAN_ATTR_CLUSTER_NAME
           
static String GBEAN_ATTR_CLUSTER_URI
           
static String GBEAN_ATTR_END_POINT_URI
           
static GBeanInfo GBEAN_INFO
           
static String GBEAN_REF_NODE
           
 
Constructor Summary
TribesDispatcherHolder(URI endPointURI, String clusterName, LocalNode node)
           
 
Method Summary
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
 org.codehaus.wadi.group.Dispatcher getDispatcher()
           
static GBeanInfo getGBeanInfo()
           
 Node getNode()
           
protected  void registerCustomAdminServices()
           
 
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 GBeanInfo GBEAN_INFO

GBEAN_ATTR_END_POINT_URI

public static final String GBEAN_ATTR_END_POINT_URI
See Also:
Constant Field Values

GBEAN_ATTR_CLUSTER_NAME

public static final String GBEAN_ATTR_CLUSTER_NAME
See Also:
Constant Field Values

GBEAN_ATTR_CLUSTER_URI

public static final String GBEAN_ATTR_CLUSTER_URI
See Also:
Constant Field Values

GBEAN_REF_NODE

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

TribesDispatcherHolder

public TribesDispatcherHolder(URI endPointURI,
                              String clusterName,
                              LocalNode node)
Method Detail

doStart

public void doStart()
             throws Exception
Description copied from interface: GBeanLifecycle
Starts the GBean. This informs the GBean that it is about to transition to the running state.

Specified by:
doStart in interface GBeanLifecycle
Throws:
Exception - if the target failed to start; this will cause a transition to the failed state

doStop

public void doStop()
            throws Exception
Description copied from interface: GBeanLifecycle
Stops the target. This informs the GBean that it is about to transition to the stopped state.

Specified by:
doStop in interface GBeanLifecycle
Throws:
Exception - if the target failed to stop; this will cause a transition to the failed state

doFail

public void doFail()
Description copied from interface: GBeanLifecycle
Fails the GBean. This informs the GBean that it is about to transition to the failed state.

Specified by:
doFail in interface GBeanLifecycle

getDispatcher

public org.codehaus.wadi.group.Dispatcher getDispatcher()
Specified by:
getDispatcher in interface DispatcherHolder

getNode

public Node getNode()
Specified by:
getNode in interface DispatcherHolder

registerCustomAdminServices

protected void registerCustomAdminServices()

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.