org.objectweb.easybeans.rpc.api
Interface EJBRequest

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
JEJBRequest

public interface EJBRequest
extends java.io.Serializable

Request sends to the server.

Author:
Florent Benoit

Method Summary
 java.lang.Long getBeanId()
           
 java.lang.String getContainerId()
           
 java.lang.String getFactory()
           
 java.lang.Object[] getMethodArgs()
           
 long getMethodHash()
           
 java.lang.String getMethodName()
           
 

Method Detail

getMethodName

java.lang.String getMethodName()
Returns:
name of the method

getMethodHash

long getMethodHash()
Returns:
the hash of this method
See Also:
Method hashing of RMI

getMethodArgs

java.lang.Object[] getMethodArgs()
Returns:
the argument of the request (send by the client)

getContainerId

java.lang.String getContainerId()
Returns:
the container id of this request. It will be used to know the container for which this request is sent.

getFactory

java.lang.String getFactory()
Returns:
the factory name of the container.

getBeanId

java.lang.Long getBeanId()
Returns:
id of the bean.