org.jboss.deployment
Interface Deployer

All Known Implementing Classes:
DeploymentCache (src) , MainDeployer (src)

public interface Deployer

The interface which a deployer must implement.

Clients should use the MainDeployer to deploy URLs.


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

Method Detail

deploy

public void deploy(java.net.URL url)
            throws DeploymentException (src) 
Deploys a package identified by a URL

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

undeploy

public void undeploy(java.net.URL url)
              throws DeploymentException (src) 
Undeploys a package identified by a URL

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

isDeployed

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

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