Class TaskTransactionInterceptor
- java.lang.Object
-
- org.drools.core.fluent.impl.PseudoClockRunner
-
- org.drools.core.command.impl.AbstractInterceptor
-
- org.jbpm.services.task.persistence.TaskTransactionInterceptor
-
- All Implemented Interfaces:
org.drools.core.runtime.ChainableRunner,org.drools.core.runtime.InternalLocalRunner,org.kie.api.runtime.CommandExecutor,org.kie.api.runtime.ExecutableRunner<org.kie.api.runtime.RequestContext>
public class TaskTransactionInterceptor extends org.drools.core.command.impl.AbstractInterceptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classTaskTransactionInterceptor.TransactionContext
-
Constructor Summary
Constructors Constructor Description TaskTransactionInterceptor(org.kie.api.runtime.Environment environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInterceptor(org.drools.core.runtime.ChainableRunner interceptor)org.kie.api.runtime.RequestContextcreateContext()org.kie.api.runtime.RequestContextexecute(org.kie.api.runtime.Executable executable, org.kie.api.runtime.RequestContext ctx)voidinitTransactionManager(org.kie.api.runtime.Environment env)booleanisSpringTransactionManager(Class<?> clazz)-
Methods inherited from class org.drools.core.command.impl.AbstractInterceptor
executeNext, getNext, setNext
-
-
-
-
Method Detail
-
execute
public org.kie.api.runtime.RequestContext execute(org.kie.api.runtime.Executable executable, org.kie.api.runtime.RequestContext ctx)- Specified by:
executein interfaceorg.kie.api.runtime.ExecutableRunner<org.kie.api.runtime.RequestContext>- Overrides:
executein classorg.drools.core.fluent.impl.PseudoClockRunner
-
addInterceptor
public void addInterceptor(org.drools.core.runtime.ChainableRunner interceptor)
-
createContext
public org.kie.api.runtime.RequestContext createContext()
- Specified by:
createContextin interfaceorg.kie.api.runtime.ExecutableRunner<org.kie.api.runtime.RequestContext>- Overrides:
createContextin classorg.drools.core.fluent.impl.PseudoClockRunner
-
initTransactionManager
public void initTransactionManager(org.kie.api.runtime.Environment env)
-
isSpringTransactionManager
public boolean isSpringTransactionManager(Class<?> clazz)
-
-