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, invoke
public T getInstance()
BeanInstance
getInstance
in interface BeanInstance
public Class<T> getInstanceType()
getInstanceType
in interface BeanInstance
Copyright © 2016. All rights reserved.