public interface TransactionSupport extends Serializable
ManagedConnectionFactory
to provide its level of transaction
support at runtime.
When a ManagedConnectionFactory
implements this interface,
the application server uses the TransactionSupportLevel
returned
by getTransactionSupport() method and not the value specified in the
resource adapter deployment descriptor or deployer configuration
Modifier and Type | Interface and Description |
---|---|
static class |
TransactionSupport.TransactionSupportLevel
An enumerated type that represents the levels of transaction support
a resource adapter may support.
|
Modifier and Type | Method and Description |
---|---|
TransactionSupport.TransactionSupportLevel |
getTransactionSupport()
Get the level of transaction support, supported by the
ManagedConnectionFactory . |
TransactionSupport.TransactionSupportLevel getTransactionSupport()
ManagedConnectionFactory
. A resource adapter must always
return a level of transaction support whose ordinal value in
TransactionSupportLevel
enum is equal to or lesser than
the resource adapter's transaction support classification.Copyright © 2016 JBoss by Red Hat. All rights reserved.