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

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


org.jboss.deployment.spi
Class JMXTarget

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

public class JMXTarget
extends Object
implements JBossTarget

A Target that deploys using the JMX adaptor to communicate with the MainDeployer using file URLs to the deployments.

Version:
$Revision: 1.1.1.1 $
Author:
thomas.diesler@jboss.org, Scott.Stark@jboss.com

Constructor Summary
JMXTarget(URI deployURI)
           
 
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

JMXTarget

public JMXTarget(URI deployURI)
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.