|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.tx.jbossts.XAResourceWrapperImpl
public class XAResourceWrapperImpl

A XAResourceWrapper.
| Field Summary |
|---|
| Fields inherited from interface javax.transaction.xa.XAResource |
|---|
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
| Constructor Summary | |
|---|---|
XAResourceWrapperImpl(XAResource resource,
boolean pad,
Boolean override,
String productName,
String productVersion,
String jndiName)
Creates a new wrapper instance. |
|
| Method Summary | |
|---|---|
void |
commit(Xid xid,
boolean onePhase)
|
void |
end(Xid xid,
int flags)
|
void |
forget(Xid xid)
|
String |
getJndiName()
|
String |
getProductName()
Get product name |
String |
getProductVersion()
Get product version |
XAResource |
getResource()
Get the XAResource that is being wrapped |
int |
getTransactionTimeout()
|
boolean |
isSameRM(XAResource resource)
|
int |
prepare(Xid xid)
|
Xid[] |
recover(int flag)
|
void |
rollback(Xid xid)
|
boolean |
setTransactionTimeout(int flag)
|
void |
start(Xid xid,
int flags)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XAResourceWrapperImpl(XAResource resource,
boolean pad,
Boolean override,
String productName,
String productVersion,
String jndiName)
resource - xaresourcepad - padoverride - overrideproductName - product nameproductVersion - product versionjndiName - jndi name| Method Detail |
|---|
public void commit(Xid xid,
boolean onePhase)
throws XAException
commit in interface XAResourceXAException
public void end(Xid xid,
int flags)
throws XAException
end in interface XAResourceXAException
public void forget(Xid xid)
throws XAException
forget in interface XAResourceXAException
public int getTransactionTimeout()
throws XAException
getTransactionTimeout in interface XAResourceXAException
public boolean isSameRM(XAResource resource)
throws XAException
isSameRM in interface XAResourceXAException
public int prepare(Xid xid)
throws XAException
prepare in interface XAResourceXAException
public Xid[] recover(int flag)
throws XAException
recover in interface XAResourceXAException
public void rollback(Xid xid)
throws XAException
rollback in interface XAResourceXAException
public boolean setTransactionTimeout(int flag)
throws XAException
setTransactionTimeout in interface XAResourceXAException
public void start(Xid xid,
int flags)
throws XAException
start in interface XAResourceXAExceptionpublic XAResource getResource()
getResource in interface org.jboss.tm.XAResourceWrapperpublic String getProductName()
getProductName in interface org.jboss.tm.XAResourceWrappernullpublic String getProductVersion()
getProductVersion in interface org.jboss.tm.XAResourceWrappernullpublic String getJndiName()
getJndiName in interface org.jboss.tm.XAResourceWrapperpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||