ClusterDeployerpublic interface ClusterDeployer implements org.apache.catalina.tribes.ChannelListenerA ClusterDeployer interface allows to plug in and out the
different deployment implementations |
Fields Summary |
---|
public String | infoDescriptive information about this component implementation. |
Methods Summary |
---|
public void | backgroundProcess()call from container Background Process
| public CatalinaCluster | getCluster()Returns the cluster the cluster deployer is associated with
| public void | install(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 and all the other
members of the cluster 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 locally,
a ContainerEvent of type
INSTALL_EVENT will be sent to all registered listeners,
with the newly created Context as an argument.
| public void | remove(java.lang.String contextPath, boolean undeploy)Remove an existing web application, attached to the specified context
path. If this application is successfully removed, a
ContainerEvent of type REMOVE_EVENT will be sent to all
registered listeners, with the removed Context as
an argument. Deletes the web application war file and/or directory
if they exist in the Host's appBase.
| public void | setCluster(CatalinaCluster cluster)Associates the cluster deployer with a cluster
| public void | start()Start the cluster deployer, the owning container will invoke this
| public void | stop()Stops the cluster deployer, the owning container will invoke this
|
|