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

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void deploy(java.lang.String name, java.lang.String sarURL)
          Deploy an installation.
 void deploy(java.lang.String name, java.net.URL location)
          Deploy an installation.
 void redeploy(java.lang.String name)
          Redeploy an installation.
 void undeploy(java.lang.String name)
          Undeploy an installation.
 

Field Detail

ROLE

public static final java.lang.String ROLE
Method Detail

deploy

public void deploy(java.lang.String name,
                   java.lang.String sarURL)
            throws DeploymentException
Deploy an installation.

Parameters:
name - the name of deployment
sarURL - the installation to deploy
Throws:
DeploymentException - if an error occurs
See Also:
deploy(String,String), undeploy(String), redeploy(String)

deploy

public void deploy(java.lang.String name,
                   java.net.URL location)
            throws DeploymentException
Deploy an installation.

Parameters:
name - the name of deployment
location - the installation to deploy
Throws:
DeploymentException - if an error occurs
See Also:
deploy(String,String), undeploy(String), redeploy(String)

undeploy

public void undeploy(java.lang.String name)
              throws DeploymentException
Undeploy an installation.

Parameters:
name - the name of deployment
Throws:
DeploymentException - if an error occurs
See Also:
deploy(String,String), deploy(String,URL), redeploy(String)

redeploy

public void redeploy(java.lang.String name)
              throws DeploymentException
Redeploy an installation.

Parameters:
name - the name of deployment
Throws:
DeploymentException - if an error occurs
See Also:
deploy(String,String), deploy(String,URL), undeploy(String)


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.