org.jboss.deployment
Interface Deployer

All Known Implementing Classes:
DeploymentCache, MainDeployer

public interface Deployer

The interface which a deployer must implement.

Clients should use the MainDeployer to deploy URLs.

Version:
$Revision: 1.3.26.1 $
Author:
Jason Dillon

Method Summary
 void deploy(URL url)
          Deploys a package identified by a URL
 boolean isDeployed(URL url)
          Tells you if a packaged identified by a URL is deployed.
 void undeploy(URL url)
          Undeploys a package identified by a URL
 

Method Detail

deploy

void deploy(URL url)
            throws DeploymentException
Deploys a package identified by a URL

Parameters:
url - an URL value
Throws:
DeploymentException - Failed to deploy URL.

undeploy

void undeploy(URL url)
              throws DeploymentException
Undeploys a package identified by a URL

Parameters:
url - an URL value
Throws:
DeploymentException - Failed to undeploy URL.

isDeployed

boolean isDeployed(URL url)
Tells you if a packaged identified by a URL is deployed.

Parameters:
url - an URL value
Returns:
a boolean value


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.