Class TxContextCommandContextFactory
- java.lang.Object
-
- org.camunda.bpm.engine.impl.interceptor.CommandContextFactory
-
- org.camunda.bpm.engine.impl.interceptor.TxContextCommandContextFactory
-
public class TxContextCommandContextFactory extends CommandContextFactory
This
CommandContextFactory
allows to explicitly pass in aTransactionContextFactory
.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected TransactionContextFactory
transactionContextFactory
-
Fields inherited from class org.camunda.bpm.engine.impl.interceptor.CommandContextFactory
processEngineConfiguration
-
-
Constructor Summary
Constructors Constructor Description TxContextCommandContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandContext
createCommandContext()
TransactionContextFactory
getTransactionContextFactory()
void
setTransactionContextFactory(TransactionContextFactory transactionContextFactory)
-
Methods inherited from class org.camunda.bpm.engine.impl.interceptor.CommandContextFactory
getProcessEngineConfiguration, setProcessEngineConfiguration
-
-
-
-
Field Detail
-
transactionContextFactory
protected TransactionContextFactory transactionContextFactory
-
-
Method Detail
-
createCommandContext
public CommandContext createCommandContext()
- Overrides:
createCommandContext
in classCommandContextFactory
-
getTransactionContextFactory
public TransactionContextFactory getTransactionContextFactory()
-
setTransactionContextFactory
public void setTransactionContextFactory(TransactionContextFactory transactionContextFactory)
-
-