public static interface RegistrarHook.Registrar
Modifier and Type | Method and Description |
---|---|
default void |
register(java.lang.Class<? extends LifecycleHook> hook)
Register a concrete hook implementation with its default PropagationMode.
|
void |
register(java.lang.Class<? extends LifecycleHook> hook,
PropagationMode propagationMode)
Register a concrete hook implementation.
|
void register(java.lang.Class<? extends LifecycleHook> hook, PropagationMode propagationMode)
hook
- a concrete hook implementation classpropagationMode
- propagation enumdefault void register(java.lang.Class<? extends LifecycleHook> hook)
hook
- a concrete hook implementation class