org.apache.avalon.phoenix.interfaces
Interface DeployerMBean
- All Known Implementing Classes:
- DefaultDeployer
- public interface DeployerMBean
MBean Interface for the Deployer to use the deploy
feature in the HmtlAdaptor
- Author:
- Joerg Bauer
- See Also:
Deployer
ROLE
public static final String ROLE
deploy
public void deploy(String name,
String sarURL)
throws DeploymentException
- Deploy an installation.
- Parameters:
name
- the name of deploymentsarURL
- the installation to deploy- Throws:
DeploymentException
- if an error occurs- See Also:
deploy(String,String)
,
undeploy(String)
deploy
public void deploy(String name,
URL location)
throws DeploymentException
- Deploy an installation.
- Parameters:
name
- the name of deploymentlocation
- the installation to deploy- Throws:
DeploymentException
- if an error occurs- See Also:
deploy(String,String)
,
undeploy(String)
undeploy
public void undeploy(String name)
throws DeploymentException
- Undeploy a resource from a location.
- Parameters:
name
- the name of deployment- Throws:
DeploymentException
- if an error occurs- See Also:
deploy(String,String)
,
deploy(String,URL)
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.