public interface Callback extends Serializable
| Modifier and Type | Method and Description |
|---|---|
CallbackType |
getCallbackType()
The type of callback (pre-update, pre-persist, etc) handled
|
boolean |
performCallback(Object entity)
Contract for performing the callback
|
CallbackType getCallbackType()
boolean performCallback(Object entity)
entity - Reference to the entity for which the callback is triggered.Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.