Methods Summary |
---|
public Manager | createManager(java.lang.String name)Create a new manager which will use this cluster to replicate its
sessions.
|
public java.lang.String | getClusterName()Return the name of the cluster that this Server is currently
configured to operate within.
|
public Container | getContainer()Get the Container associated with our Cluster
|
public int | getDebug()Returns the debug level for this Cluster
|
public java.lang.String | getInfo()Return descriptive information about this Cluster implementation and
the corresponding version number, in the format
<description>/<version> .
|
public java.lang.String | getProtocol()Get the protocol used by the cluster.
|
public void | installContext(java.lang.String contextPath, java.net.URL war)Install a new web application, whose web application archive is at the
specified URL, into this container with the specified context path.
A context path of "" (the empty string) should be used for the root
application for this container. Otherwise, the context path must
start with a slash.
If this application is successfully installed, a ContainerEvent of type
PRE_INSTALL_EVENT will be sent to registered listeners
before the associated Context is started, and a ContainerEvent of type
INSTALL_EVENT will be sent to all registered listeners
after the associated Context is started, with the newly created
Context as an argument.
|
public void | setClusterName(java.lang.String clusterName)Set the name of the cluster to join, if no cluster with
this name is present create one.
|
public void | setContainer(Container container)Set the Container associated with our Cluster
|
public void | setDebug(int debug)The debug detail level for this Cluster
|
public void | setDistributable(java.lang.String contextName, boolean distributable)Notifies the cluster if a context is distributable or not
|
public void | setProtocol(java.lang.String protocol)Set the protocol parameters.
|
public void | startContext(java.lang.String contextPath)Start an existing web application, attached to the specified context
path in all the other nodes in the cluster.
Only starts a web application if it is not running.
|
public void | stop(java.lang.String contextPath)Stop an existing web application, attached to the specified context
path. Only stops a web application if it is running.
|