public class NullCallbackHandler extends Object implements CallbackHandler
Constructor and Description |
---|
NullCallbackHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(Object listener,
Class[] classes)
Adds a new listener to this handler.
|
void |
close()
Clear any objects to release resources.
|
void |
removeListener(Object listener)
Remove a listener for this handler.
|
void |
setBeanValidationHandler(BeanValidationHandler handler)
Method to set the handler for bean validation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postAttach, postClear, postCreate, postDelete, postDetach, postDirty, postLoad, postRefresh, postStore, preAttach, preClear, preDelete, preDetach, preDirty, prePersist, preStore
public void setBeanValidationHandler(BeanValidationHandler handler)
CallbackHandler
setBeanValidationHandler
in interface CallbackHandler
handler
- Handler for bean validationpublic void addListener(Object listener, Class[] classes)
CallbackHandler
addListener
in interface CallbackHandler
listener
- the listener instanceclasses
- the persistent classes which events are fired for the listenerpublic void removeListener(Object listener)
CallbackHandler
removeListener
in interface CallbackHandler
listener
- the listener instancepublic void close()
CallbackHandler
close
in interface CallbackHandler
Copyright © 2019. All rights reserved.