public class HQXAContext extends HQContext implements Synchronization
Context.Mode| Modifier and Type | Field and Description |
|---|---|
static TransactionManager |
tm |
currentContext| Constructor and Description |
|---|
HQXAContext(javax.jms.JMSContext jmsContext,
Messaging broker,
Context.Mode mode,
boolean remote) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion() |
void |
close() |
void |
commit() |
HQSpecificContext |
createChildContext(Context.Mode mode) |
boolean |
enlist() |
static boolean |
isTransactionActive() |
boolean |
isXAEnabled() |
void |
rollback() |
acknowledge, addCloseable, asNonCloseable, broker, isChild, isRemote, jmsContext, mode, modeToJMSModepublic static final TransactionManager tm
public HQXAContext(javax.jms.JMSContext jmsContext,
Messaging broker,
Context.Mode mode,
boolean remote)
public void commit()
public void rollback()
public boolean enlist()
throws Exception
public void close()
throws Exception
close in interface AutoCloseableclose in class HQContextExceptionpublic void afterCompletion(int status)
afterCompletion in interface Synchronizationpublic void beforeCompletion()
beforeCompletion in interface Synchronizationpublic HQSpecificContext createChildContext(Context.Mode mode)
createChildContext in interface HQSpecificContextcreateChildContext in class HQContextpublic boolean isXAEnabled()
isXAEnabled in interface HQSpecificContextisXAEnabled in class HQContextpublic static boolean isTransactionActive()
Copyright © 2015. All Rights Reserved.