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