Package org.nuxeo.runtime.test.runner
Class TransactionalFeature.TransactionalDeployer
- java.lang.Object
-
- org.nuxeo.runtime.test.runner.HotDeployer.ActionHandler
-
- org.nuxeo.runtime.test.runner.TransactionalFeature.TransactionalDeployer
-
- Enclosing class:
- TransactionalFeature
public class TransactionalFeature.TransactionalDeployer extends HotDeployer.ActionHandler
Handler used to commit transaction before next action and start a new one after next action ifTransactionalConfig.autoStart()
is true. This is because framework is about to be reloaded, then a new transaction manager will be installed.- Since:
- 10.2
-
-
Field Summary
-
Fields inherited from class org.nuxeo.runtime.test.runner.HotDeployer.ActionHandler
next
-
-
Constructor Summary
Constructors Constructor Description TransactionalDeployer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exec(String action, String... args)
Can wrap another deploy action with custom code.
-
-
-
Method Detail
-
exec
public void exec(String action, String... args) throws Exception
Description copied from class:HotDeployer.ActionHandler
Can wrap another deploy action with custom code. Should call the next action usingnext.exec(action, args...)
- Specified by:
exec
in classHotDeployer.ActionHandler
- Throws:
Exception
-
-