|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openejb.core.ivm.BaseEjbProxyHandler | +--org.openejb.core.ivm.EjbHomeProxyHandler | +--org.openejb.core.stateless.StatelessEjbHomeHandler
This InvocationHandler and its proxy are serializable and can be used by HomeHandle, Handle, and MetaData to persist and revive handles. It maintains its original client identity which allows the container to be more discerning about allowing the revieed proxy to be used. See StatefulContaer manager for more details.
Fields inherited from class org.openejb.core.ivm.BaseEjbProxyHandler |
container, debug, deploymentID, deploymentInfo, doIntraVmCopy, inProxyMap, isInvalidReference, liveHandleRegistry, primaryKey |
Constructor Summary | |
StatelessEjbHomeHandler(RpcContainer container,
java.lang.Object pk,
java.lang.Object depID)
|
Method Summary | |
protected java.lang.Object |
findX(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy)
EJB 1.1 Specification, Section 5.5 Session object identity Since all session objects hide their identity, there is no need to provide a finder for them. |
protected java.lang.Object |
getEJBMetaData(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy)
Returns an EJBMetaData implementation that is valid inside this virtual machine. |
protected EjbObjectProxyHandler |
newEjbObjectHandler(RpcContainer container,
java.lang.Object pk,
java.lang.Object depID)
|
protected java.lang.Object |
removeByPrimaryKey(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy)
------------------------------------ 5.3.2 Removing a session object A client may remove a session object using the remove() method on the javax.ejb.EJBObject interface, or the remove(Handle handle) method of the javax.ejb.EJBHome interface. |
protected java.lang.Object |
removeWithHandle(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy)
Attempts to remove an EJBObject from the container system. |
Methods inherited from class org.openejb.core.ivm.EjbHomeProxyHandler |
_invoke, _writeReplace, create, createProxy, getHomeHandle, getProxyInfo |
Methods inherited from class org.openejb.core.ivm.BaseEjbProxyHandler |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatelessEjbHomeHandler(RpcContainer container, java.lang.Object pk, java.lang.Object depID)
Method Detail |
protected java.lang.Object findX(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
findX
in class EjbHomeProxyHandler
method
- args
- proxy
- java.lang.Throwable
- protected java.lang.Object removeByPrimaryKey(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
removeByPrimaryKey
in class EjbHomeProxyHandler
org.openejb.core.ivm.EjbHomeProxyHandler
method
- args
- java.lang.Throwable
- EJBHome
,
EJBHome.remove(java.lang.Object)
protected java.lang.Object removeWithHandle(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
EjbHomeProxyHandler
Attempts to remove an EJBObject from the container system. The EJBObject to be removed is represented by the javax.ejb.Handle object passed into the remove method in the EJBHome.
This method propogates to the container system.
remove(Handle handle) is a method of javax.ejb.EJBHome
Checks if the caller is authorized to invoke the javax.ejb.EJBHome.remove on the EJBHome of the deployment.
removeWithHandle
in class EjbHomeProxyHandler
org.openejb.core.ivm.EjbHomeProxyHandler
method
- args
- java.lang.Throwable
- EJBHome
,
EJBHome.remove(java.lang.Object)
protected java.lang.Object getEJBMetaData(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
Returns an EJBMetaData implementation that is valid inside this virtual machine. This implementation should not be sent outside the virtual machine.
This method does not propogate to the container system.
getMetaData is a method of javax.ejb.EJBHome
Checks if the caller is authorized to invoke the javax.ejb.EJBHome.getMetaData on the EJBHome of the deployment.
getEJBMetaData
in class EjbHomeProxyHandler
java.lang.Throwable
- IntraVmMetaData
,
EJBHome
,
EJBHome.getEJBMetaData()
protected EjbObjectProxyHandler newEjbObjectHandler(RpcContainer container, java.lang.Object pk, java.lang.Object depID)
newEjbObjectHandler
in class EjbHomeProxyHandler
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |