Class DebugXaResource
java.lang.Object
java.lang.Thread
org.apache.ofbiz.entity.transaction.GenericXaResource
org.apache.ofbiz.entity.transaction.DebugXaResource
- All Implemented Interfaces:
Runnable
,XAResource
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Fields inherited from interface javax.transaction.xa.XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.ofbiz.entity.transaction.GenericXaResource
end, enlist, forget, getTransaction, getTransactionTimeout, getXid, isActive, isSameRM, prepare, recover, run, runOnTimeout, setActive, setTransaction, setTransactionTimeout, setXid, start
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
DebugXaResource
-
DebugXaResource
public DebugXaResource()
-
-
Method Details
-
commit
- Specified by:
commit
in interfaceXAResource
- Specified by:
commit
in classGenericXaResource
- Throws:
XAException
-
rollback
- Specified by:
rollback
in interfaceXAResource
- Specified by:
rollback
in classGenericXaResource
- Throws:
XAException
-
enlist
Description copied from class:GenericXaResource
Enlists this resource in the current transaction- Overrides:
enlist
in classGenericXaResource
- Throws:
XAException
-
log
public void log()Log.
-