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

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


org.jboss.deployment.spi
Class TargetModuleIDImpl

java.lang.Object
  extended byorg.jboss.deployment.spi.TargetModuleIDImpl
All Implemented Interfaces:
javax.enterprise.deploy.spi.TargetModuleID

public class TargetModuleIDImpl
extends Object
implements javax.enterprise.deploy.spi.TargetModuleID

A TargetModuleID interface represents a unique identifier for a deployed application module. A deployable application module can be an EAR, JAR, WAR or RAR file. A TargetModuleID can represent a root module or a child module. A root module TargetModuleID has no parent. It represents a deployed EAR file or stand alone module. A child module TargetModuleID represents a deployed sub module of a J2EE application. A child TargetModuleID has only one parent, the super module it was bundled and deployed with. The identifier consists of the target name and the unique identifier for the deployed application module.

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

Constructor Summary
TargetModuleIDImpl(javax.enterprise.deploy.spi.Target target, String moduleID, javax.enterprise.deploy.spi.TargetModuleID parentModuleID, boolean isRunning)
          Construct a new target module
 
Method Summary
 javax.enterprise.deploy.spi.TargetModuleID[] getChildTargetModuleID()
          Get the child modules
 javax.enterprise.deploy.shared.ModuleType getModeType()
          Get this modules type.
 String getModuleID()
          Get the module id
 javax.enterprise.deploy.spi.TargetModuleID getParentTargetModuleID()
          The parent of this module
 javax.enterprise.deploy.spi.Target getTarget()
          Get the target
 String getWebURL()
          The URL for a web module
 boolean isRunning()
          True if the module is running.
 String toString()
          Return the identifier of this module
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TargetModuleIDImpl

public TargetModuleIDImpl(javax.enterprise.deploy.spi.Target target,
                          String moduleID,
                          javax.enterprise.deploy.spi.TargetModuleID parentModuleID,
                          boolean isRunning)
Construct a new target module

Method Detail

isRunning

public boolean isRunning()
True if the module is running.


getModeType

public javax.enterprise.deploy.shared.ModuleType getModeType()
Get this modules type.


getTarget

public javax.enterprise.deploy.spi.Target getTarget()
Get the target

Specified by:
getTarget in interface javax.enterprise.deploy.spi.TargetModuleID
Returns:
the target

getModuleID

public String getModuleID()
Get the module id

Specified by:
getModuleID in interface javax.enterprise.deploy.spi.TargetModuleID
Returns:
the id

getWebURL

public String getWebURL()
The URL for a web module

Specified by:
getWebURL in interface javax.enterprise.deploy.spi.TargetModuleID
Returns:
the url

toString

public String toString()
Return the identifier of this module

Specified by:
toString in interface javax.enterprise.deploy.spi.TargetModuleID
Returns:
the identifier

getParentTargetModuleID

public javax.enterprise.deploy.spi.TargetModuleID getParentTargetModuleID()
The parent of this module

Specified by:
getParentTargetModuleID in interface javax.enterprise.deploy.spi.TargetModuleID
Returns:
the parent or null if there is no parent

getChildTargetModuleID

public javax.enterprise.deploy.spi.TargetModuleID[] getChildTargetModuleID()
Get the child modules

Specified by:
getChildTargetModuleID in interface javax.enterprise.deploy.spi.TargetModuleID
Returns:
an array of child modules or null if there are no children


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