站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 system API Documentation 英文版文档

Deployer (JBoss System API) - JBoss 3.2.7 system API Documentation 英文版文档


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 $
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

public 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

public 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

public 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.