org.apache.webbeans.context.creational
Class BeanInstanceBag<T>
java.lang.Object
org.apache.webbeans.context.creational.BeanInstanceBag<T>
- All Implemented Interfaces:
- Serializable
public class BeanInstanceBag<T>
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanInstanceBag
public BeanInstanceBag(CreationalContext<T> beanCreationalContext)
getBeanCreationalContext
public CreationalContext<T> getBeanCreationalContext()
- Returns:
- the beanCreationalContext
setBeanInstance
public void setBeanInstance(T beanInstance)
- Parameters:
beanInstance - the beanInstance to set
getBeanInstance
public T getBeanInstance()
- Returns:
- the beanInstance
create
public T create(Contextual<T> contextual)
- Create the contextual instance in a thread safe fashion
- Parameters:
contextual -
- Returns:
- the single contextual instance for the context
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.