|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stellent.cis.common.proxy.ejb.EJBLookupAndProxy.GenericEjbProxy
public static class EJBLookupAndProxy.GenericEjbProxy
Wraps calls and proxies them into the EJB object, handling EJB creation and removal as necessary.
| Field Summary | |
|---|---|
protected java.lang.reflect.Method |
m_createMethod
|
protected ContextLoaderSwitcher |
m_ejbContextSwitcher
|
protected java.lang.Object |
m_remoteHomeObject
|
| Constructor Summary | |
|---|---|
EJBLookupAndProxy.GenericEjbProxy(java.lang.Object remoteHomeObject,
java.lang.ClassLoader ejbClassLoader)
|
|
| Method Summary | |
|---|---|
protected javax.ejb.EJBObject |
createEjbObject()
Create the EJB object reference |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Execute the EJB method |
protected boolean |
isConnectionFailure(java.rmi.RemoteException exp)
Determine if the RemoteException was a connection failure |
protected void |
releaseEjbObject(javax.ejb.EJBObject ejbObject)
Release the EJB object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ContextLoaderSwitcher m_ejbContextSwitcher
protected java.lang.Object m_remoteHomeObject
protected java.lang.reflect.Method m_createMethod
| Constructor Detail |
|---|
public EJBLookupAndProxy.GenericEjbProxy(java.lang.Object remoteHomeObject,
java.lang.ClassLoader ejbClassLoader)
| Method Detail |
|---|
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwableprotected boolean isConnectionFailure(java.rmi.RemoteException exp)
exp - remote exception
protected javax.ejb.EJBObject createEjbObject()
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetExceptionprotected void releaseEjbObject(javax.ejb.EJBObject ejbObject)
ejbObject -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||