public interface Registrable
All hook methods may throw a RuntimeException
and it is up to
the registration manager to handle the exception or propagate it further.
Modifier and Type | Method and Description |
---|---|
void |
postRegister()
Post-register block.
|
void |
postUnregister()
Post-unregister block.
|
void |
preRegister()
Pre-register block.
|
void |
preUnregister()
Pre-unregister block.
|
void preRegister()
java.lang.RuntimeException
- if pre-registration failsvoid postRegister()
java.lang.RuntimeException
- if post-registration failsvoid preUnregister()
java.lang.RuntimeException
- if pre-unregistration failsvoid postUnregister()
java.lang.RuntimeException
- if post-unregistration fails