@Target(value={ANNOTATION_TYPE,METHOD,TYPE}) @Retention(value=RUNTIME) @Repeatable(value=LifecycleHooks.class) @Inherited @API(status=MAINTAINED, since="1.4.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
public abstract PropagationMode propagateTo