FileDocCategorySizeDatePackage
JBossTarget.javaAPI DocJBoss 4.2.12411Fri Jul 13 20:52:34 BST 2007org.jboss.deployment.spi

JBossTarget

public interface JBossTarget implements javax.enterprise.deploy.spi.Target
A Target interface represents a single logical core server of one instance of a J2EE platform product. It is a designator for a server and the implied location to copy a configured application for the server to access.
author
thomas.diesler@jboss.org
author
Scott.Stark@jboss.com
version
$Revision: 57190 $

Fields Summary
Constructors Summary
Methods Summary
public abstract voiddeploy(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
Deploy a given module

public javax.enterprise.deploy.spi.TargetModuleID[]getAvailableModules(javax.enterprise.deploy.shared.ModuleType moduleType)
Retrieve the list of all J2EE application modules running or not running on the identified targets.

public abstract java.lang.StringgetHostName()
Get the target's host name

public abstract voidstart(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
Start a given module

public abstract voidstop(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
Stop a given module

public abstract voidundeploy(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
Undeploy a given module