public class EjbBeanProxyHandler extends Object implements InvocationHandler, MethodHandler, Serializable, Externalizable
| Modifier and Type | Field and Description |
|---|---|
protected javax.enterprise.context.spi.CreationalContext<?> |
creationalContext
Creational Context
|
protected Object |
dependentEJB
Dependent ejb instance
|
protected BaseEjbBean<?> |
ejbBean
Proxy ejb bean instance
|
protected boolean |
isDependent
Scope is dependent
|
protected static Logger |
logger |
protected WebBeansContext |
webBeansContext |
| Constructor and Description |
|---|
EjbBeanProxyHandler() |
EjbBeanProxyHandler(BaseEjbBean<?> ejbBean,
javax.enterprise.context.spi.CreationalContext<?> creationalContext)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.enterprise.context.spi.CreationalContext<Object> |
getContextualCreationalContext() |
Object |
invoke(Object instance,
Method method,
Method proceed,
Object[] arguments) |
Object |
invoke(Object instance,
Method method,
Object[] arguments) |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
protected static final Logger logger
protected BaseEjbBean<?> ejbBean
protected Object dependentEJB
protected boolean isDependent
protected javax.enterprise.context.spi.CreationalContext<?> creationalContext
protected WebBeansContext webBeansContext
public EjbBeanProxyHandler()
public EjbBeanProxyHandler(BaseEjbBean<?> ejbBean, javax.enterprise.context.spi.CreationalContext<?> creationalContext)
ejbBean - ejb bean instancepublic Object invoke(Object instance, Method method, Method proceed, Object[] arguments) throws Throwable
invoke in interface javassist.util.proxy.MethodHandlerThrowablepublic Object invoke(Object instance, Method method, Object[] arguments) throws Throwable
invoke in interface InvocationHandlerThrowableprotected javax.enterprise.context.spi.CreationalContext<Object> getContextualCreationalContext()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.