org.jboss.deployment.remoting
Class StreamingTarget

java.lang.Object
  extended by org.jboss.deployment.remoting.StreamingTarget
All Implemented Interfaces:
javax.enterprise.deploy.spi.Target, JBossTarget

public class StreamingTarget
extends Object
implements JBossTarget

A JBossTarget implementation that uses remoting streaming to upload deployments. This target is selected by including a targetType=remote param in the DeploymentManager deployURI.

Version:
$Revision: 85945 $
Author:
Scott.Stark@jboss.org

Field Summary
static String DESCRIPTION
           
 
Constructor Summary
StreamingTarget(URI deployURI)
          Create a target given a remoting locator URI
 
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
 

Field Detail

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

StreamingTarget

public StreamingTarget(URI deployURI)
Create a target given a remoting locator URI

Parameters:
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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.