public class JmsLocalTransaction extends Object implements LocalTransaction
Modifier and Type | Field and Description |
---|---|
protected JmsManagedConnection |
mc |
Constructor and Description |
---|
JmsLocalTransaction(JmsManagedConnection mc) |
protected JmsManagedConnection mc
public JmsLocalTransaction(JmsManagedConnection mc)
public void begin() throws ResourceException
LocalTransaction
begin
in interface LocalTransaction
ResourceException
- generic exception if operation failsLocalTransactionException
- error condition related
to local transaction managementResourceAdapterInternalException
- error condition internal to resource
adapterEISSystemException
- EIS instance specific error conditionpublic void commit() throws ResourceException
LocalTransaction
commit
in interface LocalTransaction
ResourceException
- generic exception if operation failsLocalTransactionException
- error condition related
to local transaction managementResourceAdapterInternalException
- error condition internal to resource
adapterEISSystemException
- EIS instance specific error conditionpublic void rollback() throws ResourceException
LocalTransaction
rollback
in interface LocalTransaction
ResourceException
- generic exception if operation failsLocalTransactionException
- error condition related
to local transaction managementResourceAdapterInternalException
- error condition internal to resource
adapterEISSystemException
- EIS instance specific error conditionCopyright © 2018 JBoss by Red Hat. All rights reserved.