org.jboss.kernel.plugins.dependency
Class ClassDependencyItem
java.lang.Object
org.jboss.util.JBossObject
org.jboss.dependency.plugins.AbstractDependencyItem
org.jboss.kernel.plugins.dependency.ClassDependencyItem
- All Implemented Interfaces:
- Cloneable, DependencyItem, org.jboss.util.JBossInterface
- Direct Known Subclasses:
- CallbackDependencyItem, ClassContextDependencyItem, SearchClassContextDependencyItem, WBInjectionDependencyItem
public abstract class ClassDependencyItem
- extends AbstractDependencyItem
A class dependant dependencyItem.
- Author:
- Ales Justin
Fields inherited from class org.jboss.util.JBossObject |
hashCode, toString |
Methods inherited from class org.jboss.dependency.plugins.AbstractDependencyItem |
addDependsOnMe, getDependentState, getIDependOn, getName, getWhenRequired, isResolved, resolve, 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 |
ClassDependencyItem
public ClassDependencyItem(Object name,
Class<?> demandClass,
ControllerState whenRequired,
ControllerState dependentState)
getDemandClass
protected Class<?> getDemandClass()
clear
public void clear(Controller controller)
- Clear the class reference.
- Parameters:
controller
- the controller
toString
public void toString(org.jboss.util.JBossStringBuilder buffer)
- Overrides:
toString
in class AbstractDependencyItem
toShortString
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
- Specified by:
toShortString
in interface org.jboss.util.JBossInterface
- Overrides:
toShortString
in class AbstractDependencyItem
toHumanReadableString
public String toHumanReadableString()
- Description copied from interface:
DependencyItem
- Return a human readable version of the dependency
- Specified by:
toHumanReadableString
in interface DependencyItem
- Overrides:
toHumanReadableString
in class AbstractDependencyItem
- Returns:
- the string
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.