org.jboss.deployment.dependency
Class ContainerDependencyItem

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.dependency.plugins.AbstractDependencyItem
          extended by org.jboss.deployment.dependency.ContainerDependencyItem
All Implemented Interfaces:
Cloneable, org.jboss.dependency.spi.DependencyItem, org.jboss.util.JBossInterface

public class ContainerDependencyItem
extends org.jboss.dependency.plugins.AbstractDependencyItem
implements org.jboss.dependency.spi.DependencyItem

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

Field Summary
 
Fields inherited from class org.jboss.dependency.plugins.AbstractDependencyItem
log
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, toString
 
Constructor Summary
ContainerDependencyItem(Object containerName, String componentID, org.jboss.dependency.spi.ControllerState whenRequired)
          Create a dependency on a container.
 
Method Summary
 boolean resolve(org.jboss.dependency.spi.Controller controller)
           
 String toHumanReadableString()
           
 void toShortString(org.jboss.util.JBossStringBuilder buffer)
           
 void toString(org.jboss.util.JBossStringBuilder buffer)
           
 
Methods inherited from class org.jboss.dependency.plugins.AbstractDependencyItem
addDependsOnMe, getDependentState, getIDependOn, getName, getWhenRequired, isResolved, setIDependOn, setResolved, toHumanReadableString, unresolved, unresolved
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.dependency.spi.DependencyItem
getDependentState, getIDependOn, getName, getWhenRequired, isResolved, unresolved
 

Constructor Detail

ContainerDependencyItem

public ContainerDependencyItem(Object containerName,
                               String componentID,
                               org.jboss.dependency.spi.ControllerState whenRequired)
Create a dependency on a container.

Parameters:
containerName - - the name of the target container the item depends on
componentID - - the
whenRequired -
Method Detail

resolve

public boolean resolve(org.jboss.dependency.spi.Controller controller)
Specified by:
resolve in interface org.jboss.dependency.spi.DependencyItem
Overrides:
resolve in class org.jboss.dependency.plugins.AbstractDependencyItem

toString

public void toString(org.jboss.util.JBossStringBuilder buffer)
Overrides:
toString in class org.jboss.dependency.plugins.AbstractDependencyItem

toShortString

public void toShortString(org.jboss.util.JBossStringBuilder buffer)
Specified by:
toShortString in interface org.jboss.util.JBossInterface
Overrides:
toShortString in class org.jboss.dependency.plugins.AbstractDependencyItem

toHumanReadableString

public String toHumanReadableString()
Specified by:
toHumanReadableString in interface org.jboss.dependency.spi.DependencyItem
Overrides:
toHumanReadableString in class org.jboss.dependency.plugins.AbstractDependencyItem


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