Top Description Inners Methods
javax.resource.spi

public Interface TransactionSupport

extends Serializable

This interface may be optionally implemented by a 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

Since
1.6
Version
Java EE Connector Architecture 1.6

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
TransactionSupport.TransactionSupportLevel

An enumerated type that represents the levels of transaction support a resource adapter may support.

Method Summary

Modifier and TypeMethod and Description
public TransactionSupport.TransactionSupportLevel
getTransactionSupport()

Get the level of transaction support, supported by the ManagedConnectionFactory.

Method Detail

getTransactionSupportback to summary
public TransactionSupport.TransactionSupportLevel getTransactionSupport()

Get the level of transaction support, supported by the 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.

Since
1.6
javax.resource.spi back to summary

public final Enum TransactionSupport.TransactionSupportLevel

extends Enum<TransactionSupport.TransactionSupportLevel>
Class Inheritance

An enumerated type that represents the levels of transaction support a resource adapter may support.
Since
1.6
Version
Java EE Connector Architecture 1.6

Field Summary

Modifier and TypeField and Description
public static final TransactionSupport.TransactionSupportLevel
LocalTransaction

The resource adapter supports resource manager local transactions by implementing the LocalTransaction interface.

public static final TransactionSupport.TransactionSupportLevel
NoTransaction

The resource adapter supports neither resource manager nor JTA transactions.

public static final TransactionSupport.TransactionSupportLevel
XATransaction

The resource adapter supports both resource manager local and JTA transactions by implementing the LocalTransaction and XAResource interfaces.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static TransactionSupport.TransactionSupportLevel
public static TransactionSupport.TransactionSupportLevel[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

LocalTransactionback to summary
public static final TransactionSupport.TransactionSupportLevel LocalTransaction

The resource adapter supports resource manager local transactions by implementing the LocalTransaction interface.

Since
1.6
NoTransactionback to summary
public static final TransactionSupport.TransactionSupportLevel NoTransaction

The resource adapter supports neither resource manager nor JTA transactions.

Since
1.6
XATransactionback to summary
public static final TransactionSupport.TransactionSupportLevel XATransaction

The resource adapter supports both resource manager local and JTA transactions by implementing the LocalTransaction and XAResource interfaces.

Since
1.6

Constructor Detail

TransactionSupportLevelback to summary
private TransactionSupportLevel()

Method Detail

valueOfback to summary
public static TransactionSupport.TransactionSupportLevel valueOf(String name)
valuesback to summary
public static TransactionSupport.TransactionSupportLevel[] values()