@Target(value={ANNOTATION_TYPE,METHOD})
@Retention(value=RUNTIME)
@API(status=EXPERIMENTAL,
since="1.2.4")
public @interface BeforeContainer
@BeforeContainer
to have them run exactly once before any of its properties or any lifecycle
methods from embedded containers will be run.
@BeforeContainer
methods must be static void
and they cannot have parameters.
@BeforeContainer
methods are inherited from superclasses
and implemented interfaces as long as they are not hidden
or overridden.
The execution order of multiple @BeforeContainer
methods
within the same container is not guaranteed and might change.
AfterContainer