Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atomikos.datasource
Interface TransactionalResource

All Superinterfaces:
  RecoverableResource

All Known Implementing Classes:
  AcceptAllXATransactionalResource, JcaTransactionalResource, JdbcTransactionalResource, JmsTransactionalResource, TemporaryXATransactionalResource, XATransactionalResource

    public interface TransactionalResource

extends RecoverableResource

Represents the abstraction of a data source that supports transactions and recovery.

Method Summary
`ResourceTransaction` | `getResourceTransaction(CompositeTransaction compositeTransaction)` Gets or creates a ResourceTransaction.

Methods inherited from interface com.atomikos.datasource.RecoverableResource
`close, endRecovery, getName, isClosed, isSameRM, recover, setRecoveryService`

Method Detail

### getResourceTransaction

    ResourceTransaction getResourceTransaction(CompositeTransaction compositeTransaction)
                                               throws IllegalStateException,
                                                      ResourceException

  Gets or creates a ResourceTransaction. This instructs the resource to internally start a context for a new transaction. If the resource decides to return a new instance, it should also make sure that before returning, the new resource transaction is registered as a participant for the supplied composite transaction.

  Throws:
    `IllegalStateException`
    `ResourceException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.