public class ContextBeanInstance<T> extends AbstractBeanInstance implements Serializable
| Constructor and Description |
|---|
ContextBeanInstance(javax.enterprise.inject.spi.Bean<T> bean,
org.jboss.weld.serialization.spi.BeanIdentifier id,
String contextId)
Creates a new locator for instances of the given bean.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getInstance()
Returns the current instance for a proxy.
|
Class<T> |
getInstanceType() |
computeInstanceType, computeInstanceType, invokepublic ContextBeanInstance(javax.enterprise.inject.spi.Bean<T> bean, org.jboss.weld.serialization.spi.BeanIdentifier id, String contextId)
bean - The contextual beanid - The unique identifier of this beanpublic T getInstance()
BeanInstancegetInstance in interface BeanInstancepublic Class<T> getInstanceType()
getInstanceType in interface BeanInstanceCopyright © 2017. All rights reserved.