org.jboss.deployment.spi
Class SerializableTargetModuleID

java.lang.Object
  extended by org.jboss.deployment.spi.SerializableTargetModuleID
All Implemented Interfaces:
Serializable

public class SerializableTargetModuleID
extends Object
implements Serializable

A Serializable representation of the TargetModuleID

Version:
$Revision: 81011 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
SerializableTargetModuleID(SerializableTargetModuleID parent, String moduleID, int moduleType, boolean isRunning)
           
SerializableTargetModuleID(SerializableTargetModuleID parent, TargetModuleIDImpl impl)
           
SerializableTargetModuleID(TargetModuleIDImpl impl)
           
 
Method Summary
 void addChildTargetModuleID(SerializableTargetModuleID child)
           
 void clearChildModuleIDs()
           
 SerializableTargetModuleID[] getChildModuleIDs()
           
 InputStream getContentIS()
          An optional deployment archive content stream for the top-level module that should be used over the moduleID url.
 String getModuleID()
           
 int getModuleType()
           
 SerializableTargetModuleID getParentModuleID()
           
 boolean isRunning()
           
 void setContentIS(InputStream contentIS)
           
 void setRunning(boolean flag)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializableTargetModuleID

public SerializableTargetModuleID(TargetModuleIDImpl impl)

SerializableTargetModuleID

public SerializableTargetModuleID(SerializableTargetModuleID parent,
                                  TargetModuleIDImpl impl)

SerializableTargetModuleID

public SerializableTargetModuleID(SerializableTargetModuleID parent,
                                  String moduleID,
                                  int moduleType,
                                  boolean isRunning)
Method Detail

getParentModuleID

public SerializableTargetModuleID getParentModuleID()

addChildTargetModuleID

public void addChildTargetModuleID(SerializableTargetModuleID child)

clearChildModuleIDs

public void clearChildModuleIDs()

getChildModuleIDs

public SerializableTargetModuleID[] getChildModuleIDs()

getModuleID

public String getModuleID()

getModuleType

public int getModuleType()

isRunning

public boolean isRunning()

setRunning

public void setRunning(boolean flag)

getContentIS

public InputStream getContentIS()
An optional deployment archive content stream for the top-level module that should be used over the moduleID url.

Returns:
the archive input stream if it exists

setContentIS

public void setContentIS(InputStream contentIS)
Parameters:
contentIS -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.