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 java.lang.Object
implements GBeanLifecycle, DispatcherHolder

Version:
$Rev$ $Date$

Field Summary
static java.lang.String GBEAN_ATTR_CLUSTER_NAME
           
static java.lang.String GBEAN_ATTR_CLUSTER_URI
           
static java.lang.String GBEAN_ATTR_DISABLE_MCAST
           
static java.lang.String GBEAN_ATTR_END_POINT_URI
           
static java.lang.String GBEAN_ATTR_MCAST_PROPERTIES
           
static java.lang.String GBEAN_ATTR_RECEIVER_PORT
           
static java.lang.String GBEAN_REF_NODE
           
static java.lang.String GBEAN_REF_STATIC_MEMBER
           
 
Constructor Summary
TribesDispatcherHolder(java.lang.ClassLoader cl, java.net.URI endPointURI, java.lang.String clusterName, boolean disableMCastService, int receiverPort, java.util.Properties mcastServiceProperties, WadiStaticMember staticMember, LocalNode node)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 org.codehaus.wadi.group.Dispatcher getDispatcher()
           
 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_ATTR_END_POINT_URI

public static final java.lang.String GBEAN_ATTR_END_POINT_URI
See Also:
Constant Field Values

GBEAN_ATTR_CLUSTER_NAME

public static final java.lang.String GBEAN_ATTR_CLUSTER_NAME
See Also:
Constant Field Values

GBEAN_ATTR_DISABLE_MCAST

public static final java.lang.String GBEAN_ATTR_DISABLE_MCAST
See Also:
Constant Field Values

GBEAN_ATTR_RECEIVER_PORT

public static final java.lang.String GBEAN_ATTR_RECEIVER_PORT
See Also:
Constant Field Values

GBEAN_ATTR_MCAST_PROPERTIES

public static final java.lang.String GBEAN_ATTR_MCAST_PROPERTIES
See Also:
Constant Field Values

GBEAN_REF_STATIC_MEMBER

public static final java.lang.String GBEAN_REF_STATIC_MEMBER
See Also:
Constant Field Values

GBEAN_ATTR_CLUSTER_URI

public static final java.lang.String GBEAN_ATTR_CLUSTER_URI
See Also:
Constant Field Values

GBEAN_REF_NODE

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

TribesDispatcherHolder

public TribesDispatcherHolder(@ParamSpecial(type=classLoader)
                              java.lang.ClassLoader cl,
                              @ParamAttribute(name="endPointURI")
                              java.net.URI endPointURI,
                              @ParamAttribute(name="clusterName")
                              java.lang.String clusterName,
                              @ParamAttribute(name="disableMCastService")
                              boolean disableMCastService,
                              @ParamAttribute(name="receiverPort")
                              int receiverPort,
                              @ParamAttribute(name="mcastServiceProperties")
                              java.util.Properties mcastServiceProperties,
                              @ParamReference(name="staticMember")
                              WadiStaticMember staticMember,
                              @ParamReference(name="Node")
                              LocalNode node)
Method Detail

doStart

public void doStart()
             throws java.lang.Exception
Specified by:
doStart in interface GBeanLifecycle
Throws:
java.lang.Exception

doStop

public void doStop()
            throws java.lang.Exception
Specified by:
doStop in interface GBeanLifecycle
Throws:
java.lang.Exception

doFail

public void doFail()
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()


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