Spec-Zone .ru
спецификации, руководства, описания, API


javax.resource.spi
Interface TransactionSupport

All Superinterfaces:
java.io.Serializable

public interface TransactionSupport
extends java.io.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 Class Summary
static class TransactionSupport.TransactionSupportLevel
          An enumerated type that represents the levels of transaction support a resource adapter may support.
 
Method Summary
 TransactionSupport.TransactionSupportLevel getTransactionSupport()
          Get the level of transaction support, supported by the ManagedConnectionFactory.
 

Method Detail

getTransactionSupport

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


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

free hit counter