|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.core.ivm.IntraVmHandle
IntraVM implementation of the interface javax.ejb.Handle
Field Summary | |
protected Object |
theProxy
The Proxy subclass that represents the bean deployment's EJBHome or EJBObject. |
Constructor Summary | |
IntraVmHandle()
Constructs an IntraVmHandle that has no refernce to an EJBHome or EJBObject. |
|
IntraVmHandle(Object proxy)
Constructs an IntraVmHandle that has a refernce to the specified EJBHome or EJBObject stub/proxy. |
Method Summary | |
javax.ejb.EJBHome |
getEJBHome()
Returns the stub/proxy referenced by this handle as an EJBHome. |
javax.ejb.EJBObject |
getEJBObject()
Returns the stub/proxy referenced by this handle as an EJBObject. |
Object |
getPrimaryKey()
|
protected void |
setProxy(Object prxy)
Sets the EJBHome or EJBObject stub/proxy that this handle is a reference to. |
protected Object |
writeReplace()
If the handle is being copied between bean instances in a RPC call we use the IntraVmArtifact If the handle is referenced by a stateful bean that is being passivated by the container, we allow this object to be serialized. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Object theProxy
Proxy
Constructor Detail |
public IntraVmHandle()
public IntraVmHandle(Object proxy)
proxy
- Method Detail |
protected void setProxy(Object prxy)
prxy
- The proxy object that this handle will reference.public javax.ejb.EJBHome getEJBHome()
getEJBHome
in interface javax.ejb.HomeHandle
public javax.ejb.EJBObject getEJBObject()
getEJBObject
in interface javax.ejb.Handle
public Object getPrimaryKey()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |