org.jboss.classloading.spi.dependency
Class RequirementDependencyItem
java.lang.Object
org.jboss.util.JBossObject
org.jboss.dependency.plugins.AbstractDependencyItem
org.jboss.classloading.spi.dependency.RequirementDependencyItem
- All Implemented Interfaces:
- Cloneable, org.jboss.dependency.spi.DependencyItem, org.jboss.util.JBossInterface
public class RequirementDependencyItem
- extends org.jboss.dependency.plugins.AbstractDependencyItem
RequirementDependencyItem.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
| 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, 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 |
RequirementDependencyItem
public RequirementDependencyItem(Module module,
Requirement requirement,
org.jboss.dependency.spi.ControllerState state)
- Create a new RequirementDependencyItem.
- Parameters:
module - the modulerequirement - the requirementstate - when the dependency is required and the state of the required dependency
- Throws:
IllegalArgumentException - for a null parameter
getModule
public Module getModule()
- Get the module.
- Returns:
- the module.
getRequirement
public Requirement getRequirement()
- Get the requirement.
- Returns:
- the requirement.
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
unresolved
public boolean unresolved(org.jboss.dependency.spi.Controller controller)
- Specified by:
unresolved in interface org.jboss.dependency.spi.DependencyItem- Overrides:
unresolved 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 © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.