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 String ROLE
           
 
Method Summary
 void deploy(String name, String sarURL)
          Deploy an installation.
 void deploy(String name, URL location)
          Deploy an installation.
 void undeploy(String name)
          Undeploy a resource from a location.
 

Field Detail

ROLE

public static final String ROLE
Method Detail

deploy

public void deploy(String name,
                   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)

deploy

public void deploy(String name,
                   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)

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.