| |
|
| org.objectweb.jonas_ejb.container.JRemote org.objectweb.jonas_ejb.container.JSessionRemote org.objectweb.jonas_ejb.container.JRepStatefulRemote
JRepStatefulRemote | abstract public class JRepStatefulRemote extends JSessionRemote (Code) | | Generic part of the EJBObject implementation for replicated SFSBs
author: Francisco Perez-Sorrosal (fpsorrosal@no-spam@fi.upm.es) author: Alberto Paz-Jimenez (apaz@no-spam@fi.upm.es) |
Method Summary | |
protected Object | getResponse() Obtain the response associated with the current request id. | protected boolean | hasResponse() | protected void | injectState() Injects the state of the bean if the cluster object id received in the
request is in the current node. | public void | postInvoke(RequestCtx rctx, Object response, boolean remove) postInvoke is called after any request. | public RequestCtx | preInvoke(int txa) preInvoke is called before any request. |
getResponse | protected Object getResponse()(Code) | | Obtain the response associated with the current request id.
Returns null if there is not response associated with the current
requestid
IMPORTANT: This method remove the request id from the requests heap
the response associated with the current request id |
hasResponse | protected boolean hasResponse()(Code) | | Checks if there is a response associated with the current request id
true if the current rquest id have an associated response |
injectState | protected void injectState()(Code) | | Injects the state of the bean if the cluster object id received in the
request is in the current node. It extracts the object id passed through
the interceptors from the request id included in the current HA context.
|
postInvoke | public void postInvoke(RequestCtx rctx, Object response, boolean remove) throws RemoteException(Code) | | postInvoke is called after any request.
Parameters: rctx - The RequestCtx that was returned at preInvoke() Parameters: remove - TODO throws: RemoteException - Thrown when the method failed due to asystem-level failure. |
preInvoke | public RequestCtx preInvoke(int txa) throws RemoteException(Code) | | preInvoke is called before any request.
Parameters: txa - Transaction Attribute (Supports, Required, ...) A RequestCtx object throws: RemoteException - Thrown when the method failed due to asystem-level failure. |
|
|
|