public class ListenerCallback extends AbstractCallback implements Callback
Constructor and Description |
---|
ListenerCallback(Listener listenerInstance,
Method callbackMethod,
CallbackType callbackType) |
Modifier and Type | Method and Description |
---|---|
boolean |
performCallback(Object entity)
Contract for performing the callback
|
getCallbackType, isActive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCallbackType, isActive
public ListenerCallback(Listener listenerInstance, Method callbackMethod, CallbackType callbackType)
public boolean performCallback(Object entity)
Callback
performCallback
in interface Callback
entity
- Reference to the entity for which the callback is triggered.Copyright © 2016 JBoss by Red Hat. All rights reserved.