public class TransactionalFeature extends SimpleFeature
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransactionalFeature.Waiter |
| Modifier and Type | Field and Description |
|---|---|
protected String |
autoactivationValue |
protected TransactionalConfig |
config |
protected Class<? extends RepositoryFactory> |
defaultFactory |
protected boolean |
nsOwner |
protected boolean |
txStarted |
| Constructor and Description |
|---|
TransactionalFeature() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWaiter(TransactionalFeature.Waiter waiter) |
void |
afterTeardown(FeaturesRunner runner)
After the call of the @After methods
|
void |
beforeSetup(FeaturesRunner runner)
Before entering in the @Before methods
|
void |
initialize(FeaturesRunner runner)
Called when preparing to run the test class.
|
void |
nextTransaction() |
void |
nextTransaction(long duration,
TimeUnit unit) |
afterMethodRun, afterRun, beforeMethodRun, beforeRun, configure, start, stop, testCreatedprotected TransactionalConfig config
protected String autoactivationValue
protected boolean nsOwner
protected boolean txStarted
protected Class<? extends RepositoryFactory> defaultFactory
public TransactionalFeature()
public void addWaiter(TransactionalFeature.Waiter waiter)
public void nextTransaction()
public void nextTransaction(long duration, TimeUnit unit)
public void initialize(FeaturesRunner runner) throws Exception
RunnerFeatureinitialize in interface RunnerFeatureinitialize in class SimpleFeatureExceptionpublic void beforeSetup(FeaturesRunner runner) throws Exception
RunnerFeaturebeforeSetup in interface RunnerFeaturebeforeSetup in class SimpleFeatureExceptionpublic void afterTeardown(FeaturesRunner runner) throws Exception
RunnerFeatureafterTeardown in interface RunnerFeatureafterTeardown in class SimpleFeatureExceptionCopyright © 2016 Nuxeo SA. All rights reserved.