org.mortbay.jetty.servlet.wadi
Class WadiCluster
java.lang.Object
org.mortbay.component.AbstractLifeCycle
org.mortbay.jetty.servlet.wadi.WadiCluster
- All Implemented Interfaces:
- LifeCycle
public class WadiCluster
- extends AbstractLifeCycle
Constructor Summary |
WadiCluster(java.lang.String clusterName,
java.lang.String nodeName,
java.lang.String endPointURI)
Constructs a cluster having the specified details. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 onendPointURI
- 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
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.