@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface ContextLifeCycle
Defines the strategy of instantiating the ApplicationContext prior executing
the test. Depending on provided value() application context can be either created once per whole test case
and afterwards shared by it's all test methods or it can be created for each of the tests method separately.
ContextLifeCycleMode| Modifier and Type | Optional Element and Description |
|---|---|
ContextLifeCycleMode |
value
Allows to specify the strategy of instantiating the
ApplicationContext. |
public abstract ContextLifeCycleMode value
ApplicationContext.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.