Class DefaultBatchTransactionService
- java.lang.Object
-
- org.apache.batchee.container.services.transaction.DefaultBatchTransactionService
-
- All Implemented Interfaces:
BatchService,TransactionManagementService
public class DefaultBatchTransactionService extends Object implements TransactionManagementService
-
-
Field Summary
Fields Modifier and Type Field Description protected PropertiesbatchConfig
-
Constructor Summary
Constructors Constructor Description DefaultBatchTransactionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TransactionManagerAdaptergetTransactionManager()TransactionManagerAdaptergetTransactionManager(javax.batch.runtime.context.StepContext stepContext)voidinit(Properties batchConfig)StringtoString()
-
-
-
Field Detail
-
batchConfig
protected Properties batchConfig
-
-
Method Detail
-
init
public void init(Properties batchConfig) throws BatchContainerServiceException
- Specified by:
initin interfaceBatchService- Throws:
BatchContainerServiceException
-
getTransactionManager
protected TransactionManagerAdapter getTransactionManager()
-
getTransactionManager
public TransactionManagerAdapter getTransactionManager(javax.batch.runtime.context.StepContext stepContext) throws TransactionManagementException
- Specified by:
getTransactionManagerin interfaceTransactionManagementService- Throws:
TransactionManagementException
-
-