jrun.ejb
Class EJBInvocation
java.lang.Object
|
+--jrunx.rmi.Invocation
|
+--jrun.ejb.EJBInvocation
- All Implemented Interfaces:
- ClusterConstants, java.io.Externalizable, java.io.Serializable
- public class EJBInvocation
- extends Invocation
- implements java.io.Externalizable
The context that describes a Method Invocation sent from an
EJB client to an EJB container. This object is passed as an arument
through all of the Container's interceptors on its way to the bean
implementation instance, and then passes back out again through all
of the interceptors in reverse.
- Author:
- PS Neville, Paul Reilly
- See Also:
- Serialized Form
| Fields inherited from class jrunx.rmi.Invocation |
args, clientInvocationThread, clusterAlgorithm, marshalledArgs, marshalledResult, marshalledThrowable, method, methodName, methodResult, rmiMarshalling, signature, stubs, subsystem, system, throwable |
|
Constructor Summary |
EJBInvocation()
|
EJBInvocation(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args,
boolean rmiMarshalling)
|
| Methods inherited from class jrunx.rmi.Invocation |
addService, clearThrowable, getArgs, getClientInvocationThread, getClusterAlgorithm, getKnownServices, getMethod, getMethodName, getMethodResult, getSignature, getSubsystem, getSystem, getThrowable, invoke, isRmiMarshalling, marshall, removeService, setArgs, setClientInvocationThread, setClusterAlgorithm, setKnownServices, setMethod, setMethodName, setMethodResult, setRmiMarshalling, setSignature, setSubsystem, setSystem, setThrowable, threwThrowable, unmarshall |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EJBInvocation
public EJBInvocation()
EJBInvocation
public EJBInvocation(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args,
boolean rmiMarshalling)
hasReentrants
public boolean hasReentrants(java.lang.String containerName)
isLocal
public boolean isLocal()
getProxy
public java.lang.Object getProxy()
setProxy
public void setProxy(java.lang.Object proxy)
getMarshalledProxy
public java.lang.Object getMarshalledProxy()
getID
public java.lang.Object getID()
throws java.lang.Exception
setID
public void setID(java.lang.Object id)
throws java.lang.Exception
setMarshalledId
public void setMarshalledId(java.lang.Object marshalledId)
setSecurityID
public void setSecurityID(java.lang.Object id)
getSecurityID
public java.lang.Object getSecurityID()
hasTransaction
public static boolean hasTransaction()
getXid
public static javax.transaction.xa.Xid getXid()
setXid
public static void setXid(javax.transaction.xa.Xid xid)
setInstance
public void setInstance(Instance instance)
getInstance
public Instance getInstance()
popEntrant
public void popEntrant(java.lang.String containerName,
java.lang.Object id)
pushEntrant
public void pushEntrant(java.lang.String containerName,
java.lang.Object id)
toString
public java.lang.String toString()
- Overrides:
toString in class Invocation
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable- Overrides:
writeExternal in class Invocation
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable- Overrides:
readExternal in class Invocation
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
Copyright � 2002 Macromedia Corporation. All Rights Reserved.