org.apache.avalon.phoenix.interfaces
Interface Deployer
- All Known Implementing Classes:
- DefaultDeployer
- public interface Deployer
A Deployer is responsible for taking a URL (ie a jar/war/ear) and deploying
it to a particular "location". "location" means different things for
different containers. For a servlet container it may mean the place to
mount servlet (ie /myapp --> /myapp/Cocoon.xml is mapping cocoon servlet to
/myapp context).
- Author:
- Peter Donald
- See Also:
DeployerMBean
Field Summary |
static java.lang.String |
ROLE
|
Method Summary |
void |
deploy(java.lang.String name,
java.net.URL location)
Deploy an installation. |
void |
undeploy(java.lang.String name)
undeploy a resource from a location. |
ROLE
public static final java.lang.String ROLE
deploy
public void deploy(java.lang.String name,
java.net.URL location)
throws DeploymentException
- Deploy an installation.
- Parameters:
name
- the name of deploymentlocation
- the installation to deploy
- Throws:
DeploymentException
- if an error occurs
undeploy
public void undeploy(java.lang.String name)
throws DeploymentException
- undeploy a resource from a location.
- Parameters:
name
- the name of deployment
- Throws:
DeploymentException
- if an error occurs
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.