public class ContextBeanInstance<T> extends AbstractBeanInstance implements Serializable
| Constructor and Description |
|---|
ContextBeanInstance(Bean<T> bean,
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(Bean<T> bean, 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 © 2016. All Rights Reserved.