@Target(value={ANNOTATION_TYPE,METHOD,TYPE}) @Retention(value=RUNTIME) @Repeatable(value=LifecycleHooks.class) @API(status=EXPERIMENTAL, since="1.0") public @interface AddLifecycleHook
This annotation can be used as meta annotation for self-made ones.
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends LifecycleHook> |
value |
Modifier and Type | Optional Element and Description |
---|---|
PropagationMode |
propagateTo
Override the propagation mode specified in LifecycleHook.propagateTo().
|
public abstract java.lang.Class<? extends LifecycleHook> value
@API(status=EXPERIMENTAL, since="1.0") public abstract PropagationMode propagateTo