public class CachedBeanInstance extends Object implements BeanInstance, Serializable
RequestScopedCache to cache bean instances. This wrapper can only be used on beans with known scoped.| Modifier and Type | Method and Description |
|---|---|
Object |
getInstance()
Returns the current instance for a proxy.
|
Class<?> |
getInstanceType() |
Object |
invoke(Object instance,
Method method,
Object... arguments) |
static BeanInstance |
wrapIfCacheable(Bean<?> bean,
BeanInstance beanInstance) |
public static BeanInstance wrapIfCacheable(Bean<?> bean, BeanInstance beanInstance)
public Object getInstance()
BeanInstancegetInstance in interface BeanInstancepublic Class<?> getInstanceType()
getInstanceType in interface BeanInstanceCopyright © 2015. All Rights Reserved.