org.jboss.kernel.plugins.dependency
Class CollectionCreatorCallbackItem<T extends Collection<Object>>
java.lang.Object
org.jboss.util.JBossObject
org.jboss.dependency.plugins.AbstractCallbackItem<T>
org.jboss.dependency.plugins.OwnerCallbackItem<Class,org.jboss.dependency.spi.dispatch.InvokeDispatchContext>
org.jboss.kernel.plugins.dependency.CollectionCallbackItem<T>
org.jboss.kernel.plugins.dependency.CollectionCreatorCallbackItem<T>
- Type Parameters:
T - expected collection type
- All Implemented Interfaces:
- Cloneable, org.jboss.dependency.spi.CallbackItem<Class>, org.jboss.util.JBossInterface
- Direct Known Subclasses:
- ListCallbackItem, QueueCallbackItem, SetCallbackItem
public abstract class CollectionCreatorCallbackItem<T extends Collection<Object>>
- extends CollectionCallbackItem<T>
Collection callback item using CollectionCreator.
- Author:
- Ales Justin
| 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 |
| Methods inherited from class org.jboss.dependency.plugins.OwnerCallbackItem |
addDependency, toString |
| Methods inherited from class org.jboss.dependency.plugins.AbstractCallbackItem |
changeCallback, 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 |
creator
protected CollectionCreator<T extends Collection<Object>> creator
CollectionCreatorCallbackItem
public CollectionCreatorCallbackItem(CollectionCreator<T> creator,
Class name,
org.jboss.dependency.spi.dispatch.InvokeDispatchContext owner,
AttributeInfo attribute)
CollectionCreatorCallbackItem
public CollectionCreatorCallbackItem(CollectionCreator<T> creator,
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.InvokeDispatchContext context,
AttributeInfo attribute)
getCollectionParameterHolder
protected T getCollectionParameterHolder()
- Description copied from class:
CollectionCallbackItem
- Create new collection impl instance - HashSet, ArrayList, ...
- Specified by:
getCollectionParameterHolder in class CollectionCallbackItem<T extends Collection<Object>>
- Returns:
- new collection impl instance
Copyright ? 2007 JBoss Inc.. All Rights Reserved.