org.jboss.kernel.plugins.dependency
Class ClassAttributeCallbackItem

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.dependency.plugins.AbstractCallbackItem<T>
          extended by org.jboss.dependency.plugins.OwnerCallbackItem<T,org.jboss.dependency.spi.dispatch.AttributeDispatchContext>
              extended by org.jboss.dependency.plugins.AttributeCallbackItem<Class>
                  extended by org.jboss.kernel.plugins.dependency.ClassAttributeCallbackItem
All Implemented Interfaces:
Cloneable, org.jboss.dependency.spi.CallbackItem<Class>, org.jboss.util.JBossInterface

public class ClassAttributeCallbackItem
extends org.jboss.dependency.plugins.AttributeCallbackItem<Class>

Class callback item - class dependency.

Author:
Ales Justin

Field Summary
protected  org.jboss.dependency.spi.Cardinality cardinality
           
 
Fields inherited from class org.jboss.dependency.plugins.OwnerCallbackItem
owner
 
Fields inherited from class org.jboss.dependency.plugins.AbstractCallbackItem
attributeName, dependentState, name, whenRequired
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
ClassAttributeCallbackItem(Class name, org.jboss.dependency.spi.dispatch.AttributeDispatchContext owner, String attribute)
           
ClassAttributeCallbackItem(Class name, org.jboss.dependency.spi.ControllerState whenRequired, org.jboss.dependency.spi.ControllerState dependentState, org.jboss.dependency.spi.Cardinality cardinality, org.jboss.dependency.spi.dispatch.AttributeDispatchContext owner, String attribute)
           
 
Method Summary
protected  org.jboss.dependency.spi.DependencyItem createDependencyItem(org.jboss.dependency.spi.ControllerContext owner)
           
 void ownerCallback(org.jboss.dependency.spi.Controller controller, boolean isInstallPhase)
           
 
Methods inherited from class org.jboss.dependency.plugins.AttributeCallbackItem
changeCallback, execute
 
Methods inherited from class org.jboss.dependency.plugins.OwnerCallbackItem
addDependency, changeCallback, toString
 
Methods inherited from class org.jboss.dependency.plugins.AbstractCallbackItem
getAttributeName, getDependentState, getIDependOn, getWhenRequired, toShortString
 
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
 

Field Detail

cardinality

protected org.jboss.dependency.spi.Cardinality cardinality
Constructor Detail

ClassAttributeCallbackItem

public ClassAttributeCallbackItem(Class name,
                                  org.jboss.dependency.spi.dispatch.AttributeDispatchContext owner,
                                  String attribute)

ClassAttributeCallbackItem

public ClassAttributeCallbackItem(Class name,
                                  org.jboss.dependency.spi.ControllerState whenRequired,
                                  org.jboss.dependency.spi.ControllerState dependentState,
                                  org.jboss.dependency.spi.Cardinality cardinality,
                                  org.jboss.dependency.spi.dispatch.AttributeDispatchContext owner,
                                  String attribute)
Method Detail

ownerCallback

public void ownerCallback(org.jboss.dependency.spi.Controller controller,
                          boolean isInstallPhase)
                   throws Throwable
Specified by:
ownerCallback in interface org.jboss.dependency.spi.CallbackItem<Class>
Overrides:
ownerCallback in class org.jboss.dependency.plugins.AbstractCallbackItem<Class>
Throws:
Throwable

createDependencyItem

protected org.jboss.dependency.spi.DependencyItem createDependencyItem(org.jboss.dependency.spi.ControllerContext owner)
Overrides:
createDependencyItem in class org.jboss.dependency.plugins.OwnerCallbackItem<Class,org.jboss.dependency.spi.dispatch.AttributeDispatchContext>


Copyright ? 2007 JBoss Inc.. All Rights Reserved.