org.apache.geronimo.clustering.wadi
Class TribesDispatcherHolder
java.lang.Object
org.apache.geronimo.clustering.wadi.TribesDispatcherHolder
- All Implemented Interfaces:
- DispatcherHolder, GBeanLifecycle
public class TribesDispatcherHolder
- extends Object
- implements GBeanLifecycle, DispatcherHolder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
TribesDispatcherHolder
public TribesDispatcherHolder(URI endPointURI,
String clusterName,
LocalNode node)
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-2007 Apache Software Foundation. All Rights Reserved.