@Named(value="net.sf.mmm.transaction.api.TransactionExecutor") public class SpringTransactionExecutor extends AbstractTransactionExecutor
TransactionExecutor
using spring-transaction
.Modifier and Type | Class and Description |
---|---|
private class |
SpringTransactionExecutor.SpringTransactionAdapter
This is the implementation of the
TransactionAdapter interface using
spring-tx. |
AbstractTransactionExecutor.AbstractTransactionAdapter<TRANSACTION>
Modifier and Type | Field and Description |
---|---|
private org.springframework.transaction.PlatformTransactionManager |
platformTransactionManager |
CDI_NAME
Constructor and Description |
---|
SpringTransactionExecutor()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.transaction.PlatformTransactionManager |
getPlatformTransactionManager() |
protected SpringTransactionExecutor.SpringTransactionAdapter |
openTransactionAdapter(TransactionSettings settings)
This method opens a new
TransactionAdapter . |
void |
setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager) |
createTransactionContext, doInitialize, doInTransaction, doInTransaction, doInTransaction, doInTransaction, getDefaultSettings, setDefaultSettings
addListener, fireEvent, fireEvent, handleListenerError, removeListener
createLogger, getLogger
doInitialized, getInitializationState, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, removeListener
private org.springframework.transaction.PlatformTransactionManager platformTransactionManager
getPlatformTransactionManager()
protected org.springframework.transaction.PlatformTransactionManager getPlatformTransactionManager()
@Inject public void setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
platformTransactionManager
- is the platformTransactionManager to setprotected SpringTransactionExecutor.SpringTransactionAdapter openTransactionAdapter(TransactionSettings settings)
TransactionAdapter
.openTransactionAdapter
in class AbstractTransactionExecutor
settings
- are the according TransactionSettings
.TransactionAdapter
.Copyright © 2001–2016 mmm-Team. All rights reserved.