public class TargetBeanInstance extends AbstractBeanInstance implements Serializable
BeanInstance which always maintains a specific bean instance
that is being proxied.log| Constructor and Description |
|---|
TargetBeanInstance(javax.enterprise.inject.spi.Bean<?> bean,
Object instance) |
TargetBeanInstance(Object instance) |
TargetBeanInstance(TargetBeanInstance otherBeanInstance)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getInstance()
Returns the current instance for a proxy.
|
Class<?> |
getInstanceType() |
javassist.util.proxy.MethodHandler |
getInterceptorsHandler() |
Object |
invoke(Object instance,
Method method,
Object... arguments) |
void |
setInterceptorsHandler(javassist.util.proxy.MethodHandler interceptorsHandler) |
computeInstanceType, computeInstanceTypepublic TargetBeanInstance(javax.enterprise.inject.spi.Bean<?> bean,
Object instance)
public TargetBeanInstance(Object instance)
public TargetBeanInstance(TargetBeanInstance otherBeanInstance)
otherBeanInstance - other bean instance to copypublic Object getInstance()
BeanInstancegetInstance in interface BeanInstancepublic Class<?> getInstanceType()
getInstanceType in interface BeanInstancepublic javassist.util.proxy.MethodHandler getInterceptorsHandler()
public void setInterceptorsHandler(javassist.util.proxy.MethodHandler interceptorsHandler)
interceptorsHandler - the interceptorsHandler to setpublic Object invoke(Object instance, Method method, Object... arguments) throws Throwable
invoke in interface BeanInstanceinvoke in class AbstractBeanInstanceThrowableCopyright © 2014 Seam Framework. All Rights Reserved.