public interface TransactionManagerLookup
TransactionManager
instance which
is returned by an implementation of this class and which ModeShape can access.
ModeShape provides an out-of-the-box implementation which integrates with most containers and JTA providers and which also
falls back to a default, in-memory implementation. It may happen that this is not enough though, in which case clients should
provide their own TransactionManagerLookup
implementation and configure it in the repository:
{ "storage" : { "transactionManagerLookup" : "org.modeshape.custom.CustomTransactionManagerLookup" } }
Modifier and Type | Method and Description |
---|---|
TransactionManager |
getTransactionManager()
Searches for a transaction manager instance.
|
TransactionManager getTransactionManager()
TransactionManager
instance; never null
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.