@API(status=MAINTAINED,
     since="1.4.0")
public interface LifecycleHook
| Modifier and Type | Method and Description | 
|---|---|
| default boolean | appliesTo(java.util.Optional<java.lang.reflect.AnnotatedElement> element)This method is called once per hook and potential element during lifecycle hooks registration. | 
| default PropagationMode | propagateTo()Override this method if you want to change a concrete hook implementation's default
 propagation behaviour: Do not use hook in child elements -- sub containers or properties. | 
default boolean appliesTo(java.util.Optional<java.lang.reflect.AnnotatedElement> element)
element - The Optional instance contains element for container classes
                or method but is empty for the enginedefault PropagationMode propagateTo()