public class JTAClientTransactionInterceptor extends Object implements org.ow2.carol.rmi.interceptor.spi.JClientRequestInterceptor
JTAClientTransactionInterceptor is a JRMP Transaction client interceptor for
Transaction Context propagation| Modifier and Type | Field and Description |
|---|---|
static int |
TX_CTX_ID
transaction context id
|
| Constructor and Description |
|---|
JTAClientTransactionInterceptor()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
name()
get the name of this interceptor
|
void |
receiveException(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri) |
void |
receiveOther(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri) |
void |
receiveReply(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri)
Receive reply interception
|
void |
sendPoll(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri) |
void |
sendRequest(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri)
send client context with the request.
|
public JTAClientTransactionInterceptor()
public String name()
name in interface org.ow2.carol.rmi.interceptor.spi.JClientRequestInterceptorpublic void sendRequest(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri)
throws IOException
sendRequest in interface org.ow2.carol.rmi.interceptor.spi.JClientRequestInterceptorjri - JClientRequestInfo the jrmp client infoIOException - if an exception occur with the ObjectOutputpublic void receiveReply(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri)
throws IOException
receiveReply in interface org.ow2.carol.rmi.interceptor.spi.JClientRequestInterceptorjri - JClientRequestInfo the jrmp client infoIOException - if an exception occur with the ObjectOutputpublic void sendPoll(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri)
throws IOException
sendPoll in interface org.ow2.carol.rmi.interceptor.spi.JClientRequestInterceptorIOExceptionpublic void receiveException(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri)
throws IOException
receiveException in interface org.ow2.carol.rmi.interceptor.spi.JClientRequestInterceptorIOExceptionpublic void receiveOther(org.ow2.carol.rmi.interceptor.api.JClientRequestInfo jri)
throws IOException
receiveOther in interface org.ow2.carol.rmi.interceptor.spi.JClientRequestInterceptorIOExceptionCopyright © 2005-2013 OW2 Consortium. All Rights Reserved.