public class JTAServerTransactionInterceptor extends Object implements org.ow2.carol.rmi.interceptor.spi.JServerRequestInterceptor
JTAServerTransactionInterceptor is a JRMP Transaction server interceptor for
Transaction Context propagation| Modifier and Type | Field and Description |
|---|---|
static int |
TX_CTX_ID
transaction context id
|
| Constructor and Description |
|---|
JTAServerTransactionInterceptor()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
name()
get the name of this interceptor
|
void |
receiveRequest(org.ow2.carol.rmi.interceptor.api.JServerRequestInfo jri)
Receive request
|
void |
sendException(org.ow2.carol.rmi.interceptor.api.JServerRequestInfo jri) |
void |
sendOther(org.ow2.carol.rmi.interceptor.api.JServerRequestInfo jri) |
void |
sendReply(org.ow2.carol.rmi.interceptor.api.JServerRequestInfo jri)
send reply with context
|
public JTAServerTransactionInterceptor()
public void receiveRequest(org.ow2.carol.rmi.interceptor.api.JServerRequestInfo jri)
throws IOException
receiveRequest in interface org.ow2.carol.rmi.interceptor.spi.JServerRequestInterceptorjri - JServerRequestInfo the jrmp server request informationIOException - if an exception occur with the ObjectOutputpublic void sendReply(org.ow2.carol.rmi.interceptor.api.JServerRequestInfo jri)
throws IOException
sendReply in interface org.ow2.carol.rmi.interceptor.spi.JServerRequestInterceptorjri - JServerRequestInfo the jrmp server request informationIOException - if an exception occur with the ObjectOutputpublic String name()
name in interface org.ow2.carol.rmi.interceptor.spi.JServerRequestInterceptorpublic void sendException(org.ow2.carol.rmi.interceptor.api.JServerRequestInfo jri)
throws IOException
sendException in interface org.ow2.carol.rmi.interceptor.spi.JServerRequestInterceptorIOExceptionpublic void sendOther(org.ow2.carol.rmi.interceptor.api.JServerRequestInfo jri)
throws IOException
sendOther in interface org.ow2.carol.rmi.interceptor.spi.JServerRequestInterceptorIOExceptionCopyright © 2005-2013 OW2 Consortium. All Rights Reserved.