| org.ow2.easybeans.rpc.api.EJBResponse
All known Subclasses: org.ow2.easybeans.rpc.JEJBResponse,
EJBResponse | public interface EJBResponse extends Serializable(Code) | | Response received from the server.
author: Florent Benoit |
getRPCException | RPCException getRPCException()(Code) | | RPC exception of the invocation (if any). |
getValue | Object getValue()(Code) | | the value returned by the server wrapped in the response. |
isRemoved | boolean isRemoved()(Code) | | true if the bean has been removed |
setBeanId | void setBeanId(Long beanId)(Code) | | Sets the bean Id.
Parameters: beanId - the id of the bean. |
setRPCException | void setRPCException(RPCException rpcException)(Code) | | Sets the RPC Exception (if any).
Parameters: rpcException - the given exception |
setRemoved | void setRemoved(boolean removed)(Code) | | Sets the removed flag.
Parameters: removed - if bean has been removed. |
setValue | void setValue(Object o)(Code) | | Sets the value of the response.
Parameters: o - the value. |
|
|