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

LocalhostTarget (JBoss JSR-88 Deployment API) - JBoss 4.0.1 sp1 deployment API Documentation 英文版文档


org.jboss.deployment.spi
Class LocalhostTarget

java.lang.Object
  extended byorg.jboss.deployment.spi.LocalhostTarget
All Implemented Interfaces:
JBossTarget, javax.enterprise.deploy.spi.Target

public class LocalhostTarget
extends Object
implements JBossTarget

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.

Version:
$Revision: 1.1.1.1 $
Author:
thomas.diesler@jboss.org

Constructor Summary
LocalhostTarget()
           
 
Method Summary
 void deploy(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
          Deploy a given module
 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.
 String getDescription()
          Get the target's description
 String getHostName()
          Get the target's host name
 String getName()
          Get the target's name
 void start(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
          Start a given module
 void stop(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
          Stop a given module
 void undeploy(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
          Undeploy a given module
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalhostTarget

public LocalhostTarget()
Method Detail

getDescription

public String getDescription()
Get the target's description

Specified by:
getDescription in interface javax.enterprise.deploy.spi.Target
Returns:
the description

getName

public String getName()
Get the target's name

Specified by:
getName in interface javax.enterprise.deploy.spi.Target
Returns:
the name

getHostName

public String getHostName()
Get the target's host name

Specified by:
getHostName in interface JBossTarget

deploy

public void deploy(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
            throws Exception
Deploy a given module

Specified by:
deploy in interface JBossTarget
Throws:
Exception

start

public void start(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
           throws Exception
Start a given module

Specified by:
start in interface JBossTarget
Throws:
Exception

stop

public void stop(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
          throws Exception
Stop a given module

Specified by:
stop in interface JBossTarget
Throws:
Exception

undeploy

public void undeploy(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
              throws Exception
Undeploy a given module

Specified by:
undeploy in interface JBossTarget
Throws:
Exception

getAvailableModules

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

Specified by:
getAvailableModules in interface JBossTarget
Throws:
javax.enterprise.deploy.spi.exceptions.TargetException


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