org.jboss.deployment.spi
Class JMXTarget

java.lang.Object
  extended byorg.jboss.deployment.spi.JMXTarget
All Implemented Interfaces:
JBossTarget (src) , Target (src)

public class JMXTarget
extends java.lang.Object
implements JBossTarget (src)

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


Constructor Summary
JMXTarget(java.net.URI deployURI)
           
 
Method Summary
 void deploy(TargetModuleID (src)  targetModuleID)
          Deploy a given module
 TargetModuleID (src) [] getAvailableModules(ModuleType (src)  moduleType)
          Retrieve the list of all J2EE application modules running or not running on the identified targets.
 java.lang.String getDescription()
          Get the target's description
 java.lang.String getHostName()
          Get the target's host name
 java.lang.String getName()
          Get the target's name
 void start(TargetModuleID (src)  targetModuleID)
          Start a given module
 void stop(TargetModuleID (src)  targetModuleID)
          Stop a given module
 void undeploy(TargetModuleID (src)  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(java.net.URI deployURI)
Method Detail

getDescription

public java.lang.String getDescription()
Get the target's description

Specified by:
getDescription in interface Target (src)
Returns:
the description

getName

public java.lang.String getName()
Get the target's name

Specified by:
getName in interface Target (src)
Returns:
the name

getHostName

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

Specified by:
getHostName in interface JBossTarget (src)

deploy

public void deploy(TargetModuleID (src)  targetModuleID)
            throws java.lang.Exception
Deploy a given module

Specified by:
deploy in interface JBossTarget (src)
Throws:
java.lang.Exception

start

public void start(TargetModuleID (src)  targetModuleID)
           throws java.lang.Exception
Start a given module

Specified by:
start in interface JBossTarget (src)
Throws:
java.lang.Exception

stop

public void stop(TargetModuleID (src)  targetModuleID)
          throws java.lang.Exception
Stop a given module

Specified by:
stop in interface JBossTarget (src)
Throws:
java.lang.Exception

undeploy

public void undeploy(TargetModuleID (src)  targetModuleID)
              throws java.lang.Exception
Undeploy a given module

Specified by:
undeploy in interface JBossTarget (src)
Throws:
java.lang.Exception

getAvailableModules

public TargetModuleID (src) [] getAvailableModules(ModuleType (src)  moduleType)
                                     throws TargetException (src) 
Retrieve the list of all J2EE application modules running or not running on the identified targets.

Specified by:
getAvailableModules in interface JBossTarget (src)
Throws:
TargetException (src)