|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.rpc.JEJBRequest
public class JEJBRequest
Implementation of the EJBRequest interface.
Field Summary | |
---|---|
private java.lang.Object[] |
args
Arguments of the method (not serializable). |
private java.lang.Long |
beanId
Id of the bean (ie, for stateful). |
private byte[] |
byteArgs
Arguments of the method. |
private java.lang.String |
containerId
Id of the container that will be used on the remote side. |
private java.lang.String |
factoryName
Name of the factory for which is dedicated this request. |
private long |
methodHash
Hashing of the method. |
private java.lang.String |
methodName
Name of the method. |
private static long |
serialVersionUID
Id for serializable class. |
Constructor Summary | |
---|---|
JEJBRequest(java.lang.String methodName,
long methodHash,
java.lang.Object[] args,
java.lang.String containerId,
java.lang.String factoryName,
java.lang.Long beanId)
Builds a new request that will be sent on remote side. |
Method Summary | |
---|---|
java.lang.Long |
getBeanId()
|
java.lang.String |
getContainerId()
|
java.lang.String |
getFactory()
|
java.lang.Object[] |
getMethodArgs()
|
long |
getMethodHash()
|
java.lang.String |
getMethodName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private java.lang.String methodName
private long methodHash
private byte[] byteArgs
private transient java.lang.Object[] args
private java.lang.String containerId
private java.lang.String factoryName
private java.lang.Long beanId
Constructor Detail |
---|
public JEJBRequest(java.lang.String methodName, long methodHash, java.lang.Object[] args, java.lang.String containerId, java.lang.String factoryName, java.lang.Long beanId) throws RPCException
methodName
- the name of the method.methodHash
- the hash of the method.args
- the arguments of the method.containerId
- id of the remote container.factoryName
- the name of the remote factory.beanId
- the bean identifier.
RPCException
- if the request cannot be built.Method Detail |
---|
public java.lang.String getMethodName()
getMethodName
in interface EJBRequest
public long getMethodHash()
getMethodHash
in interface EJBRequest
public java.lang.Object[] getMethodArgs() throws java.lang.IllegalStateException
getMethodArgs
in interface EJBRequest
java.lang.IllegalStateException
- if arguments were serialized and not available.public java.lang.String getContainerId()
getContainerId
in interface EJBRequest
public java.lang.String getFactory()
getFactory
in interface EJBRequest
public java.lang.Long getBeanId()
getBeanId
in interface EJBRequest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |