org.jboss.kernel.plugins.dependency
Class ClassDependencyItem

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.dependency.plugins.AbstractDependencyItem
          extended by org.jboss.kernel.plugins.dependency.ClassDependencyItem
All Implemented Interfaces:
Cloneable, org.jboss.dependency.spi.DependencyItem, org.jboss.util.JBossInterface
Direct Known Subclasses:
CallbackDependencyItem, ClassContextDependencyItem

public abstract class ClassDependencyItem
extends org.jboss.dependency.plugins.AbstractDependencyItem

A class dependant dependencyItem.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, toString
 
Constructor Summary
ClassDependencyItem(Object name, Class demandClass, org.jboss.dependency.spi.ControllerState whenRequired, org.jboss.dependency.spi.ControllerState dependentState)
           
 
Method Summary
 void clear(org.jboss.dependency.spi.Controller controller)
          Clear the class reference.
protected  Class getDemandClass()
           
 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, resolve, setIDependOn, setResolved, toHumanReadableString, 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
 

Constructor Detail

ClassDependencyItem

public ClassDependencyItem(Object name,
                           Class demandClass,
                           org.jboss.dependency.spi.ControllerState whenRequired,
                           org.jboss.dependency.spi.ControllerState dependentState)
Method Detail

getDemandClass

protected Class getDemandClass()

clear

public void clear(org.jboss.dependency.spi.Controller controller)
Clear the class reference.

Parameters:
controller - the controller

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


Copyright ? 2007 JBoss Inc.. All Rights Reserved.