public class Callback extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Callback.CallbackType
Type of the callback
|
| Constructor and Description |
|---|
Callback(AbstractLocator locator,
Class<?> clazz,
String name,
EntityListenerMetadata.EntityListenerType listenerType,
Callback.CallbackType callbackType) |
| Modifier and Type | Method and Description |
|---|---|
void |
fire(Object instance)
Fires the callback.
|
Callback.CallbackType |
getCallbackType()
Returns the callback type of the Callback.
|
EntityListenerMetadata.EntityListenerType |
getListenerType()
Returns the listener type of the Callback.
|
public Callback(AbstractLocator locator, Class<?> clazz, String name, EntityListenerMetadata.EntityListenerType listenerType, Callback.CallbackType callbackType)
locator - the locatorclazz - the classname - the name of the callback methodlistenerType - the listener typecallbackType - the callback typepublic void fire(Object instance)
instance - the instancepublic Callback.CallbackType getCallbackType()
public EntityListenerMetadata.EntityListenerType getListenerType()
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.