org.mortbay.jetty.servlet.wadi
Class WadiCluster

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.servlet.wadi.WadiCluster
All Implemented Interfaces:
LifeCycle

public class WadiCluster
extends AbstractLifeCycle


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.mortbay.component.LifeCycle
LifeCycle.Listener
 
Field Summary
 
Fields inherited from class org.mortbay.component.AbstractLifeCycle
_listeners
 
Constructor Summary
WadiCluster(java.lang.String clusterName, java.lang.String nodeName, java.lang.String endPointURI)
          Constructs a cluster having the specified details.
 
Method Summary
 void addStaticMember(org.apache.catalina.tribes.Member member)
           
protected  void doStart()
           
protected  void doStop()
           
 org.codehaus.wadi.group.Dispatcher getDispatcher()
           
 java.lang.String getNodeName()
           
protected  org.codehaus.wadi.group.Dispatcher newDispatcher()
           
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WadiCluster

public WadiCluster(java.lang.String clusterName,
                   java.lang.String nodeName,
                   java.lang.String endPointURI)
            throws java.lang.Exception
Constructs a cluster having the specified details.

Parameters:
clusterName - name of the cluster.
nodeName - name of the node this cluster instance is running on
endPointURI - base URL to use from other nodes to reach this node. This value is actually not used and you pretty much do not need to define a meaningful value; however, it must be a valid URI.
Throws:
java.lang.Exception
Method Detail

addStaticMember

public void addStaticMember(org.apache.catalina.tribes.Member member)

getDispatcher

public org.codehaus.wadi.group.Dispatcher getDispatcher()

getNodeName

public java.lang.String getNodeName()

doStart

protected void doStart()
                throws java.lang.Exception
Overrides:
doStart in class AbstractLifeCycle
Throws:
java.lang.Exception

doStop

protected void doStop()
               throws java.lang.Exception
Overrides:
doStop in class AbstractLifeCycle
Throws:
java.lang.Exception

newDispatcher

protected org.codehaus.wadi.group.Dispatcher newDispatcher()


Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.