org.apache.myfaces.cdi.util
Class ContextualInstanceInfo<T>
java.lang.Object
org.apache.myfaces.cdi.util.ContextualInstanceInfo<T>
- All Implemented Interfaces:
- Serializable
public class ContextualInstanceInfo<T>
- extends Object
- implements Serializable
This data holder contains all necessary data you need to
store a Contextual Instance in a CDI Context.
NOTE: Taken from Apache DeltaSpike
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextualInstanceInfo
public ContextualInstanceInfo()
getCreationalContext
public javax.enterprise.context.spi.CreationalContext<T> getCreationalContext()
- Returns:
- the CreationalContext of the bean
setCreationalContext
public void setCreationalContext(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
- Parameters:
creationalContext
- the CreationalContext of the bean
getContextualInstance
public T getContextualInstance()
- Returns:
- the contextual instance itself
setContextualInstance
public void setContextualInstance(T contextualInstance)
- Parameters:
contextualInstance
- the contextual instance itself
Copyright © 2015 The Apache Software Foundation. All rights reserved.