|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.rpc.JEJBResponse
public class JEJBResponse
Implementation of the EJBResponse interface.
Field Summary | |
---|---|
private java.lang.Long |
beanId
Bean id. |
private boolean |
removed
Bean removed ? |
private RPCException |
rpcException
RPC Exception (if any). |
private static long |
serialVersionUID
Id for serializable class. |
private java.lang.Object |
value
Value of the response. |
Constructor Summary | |
---|---|
JEJBResponse()
|
Method Summary | |
---|---|
java.lang.Long |
getBeanId()
|
RPCException |
getRPCException()
|
java.lang.Object |
getValue()
Gets the value. |
boolean |
isRemoved()
|
void |
setBeanId(java.lang.Long beanId)
Sets the bean Id. |
void |
setRemoved(boolean removed)
Sets the removed flag. |
void |
setRPCException(RPCException rpcException)
Sets the RPC Exception (if any). |
void |
setValue(java.lang.Object value)
Sets the value of the response. |
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.Object value
private java.lang.Long beanId
private RPCException rpcException
private boolean removed
Constructor Detail |
---|
public JEJBResponse()
Method Detail |
---|
public java.lang.Object getValue()
getValue
in interface EJBResponse
public void setValue(java.lang.Object value)
setValue
in interface EJBResponse
value
- response's value.public java.lang.Long getBeanId()
getBeanId
in interface EJBResponse
public void setBeanId(java.lang.Long beanId)
setBeanId
in interface EJBResponse
beanId
- the id of the bean.public RPCException getRPCException()
getRPCException
in interface EJBResponse
public void setRPCException(RPCException rpcException)
setRPCException
in interface EJBResponse
rpcException
- the given exceptionpublic boolean isRemoved()
isRemoved
in interface EJBResponse
public void setRemoved(boolean removed)
setRemoved
in interface EJBResponse
removed
- if bean has been removed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |