|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.core.ivm.IntraVmHandle
public class IntraVmHandle
IntraVM implementation of the interface javax.ejb.Handle
Field Summary | |
---|---|
protected java.lang.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(java.lang.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. |
java.lang.Object |
getPrimaryKey()
|
protected void |
setProxy(java.lang.Object prxy)
Sets the EJBHome or EJBObject stub/proxy that this handle is a reference to. |
protected java.lang.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 java.lang.Object theProxy
Proxy
Constructor Detail |
---|
public IntraVmHandle()
public IntraVmHandle(java.lang.Object proxy)
proxy
- Method Detail |
---|
protected void setProxy(java.lang.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 java.lang.Object getPrimaryKey()
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |