public class JpaFlushEntityEventListener extends DefaultFlushEntityEventListener implements CallbackRegistryConsumer
Constructor and Description |
---|
JpaFlushEntityEventListener() |
JpaFlushEntityEventListener(CallbackRegistry callbackRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
injectCallbackRegistry(CallbackRegistry callbackRegistry)
Injection of the CallbackRegistry
|
protected boolean |
invokeInterceptor(SessionImplementor session,
Object entity,
EntityEntry entry,
Object[] values,
EntityPersister persister) |
checkId, dirtyCheck, handleInterception, isUpdateNecessary, onFlushEntity
public JpaFlushEntityEventListener()
public JpaFlushEntityEventListener(CallbackRegistry callbackRegistry)
public void injectCallbackRegistry(CallbackRegistry callbackRegistry)
CallbackRegistryConsumer
injectCallbackRegistry
in interface CallbackRegistryConsumer
callbackRegistry
- The CallbackRegistryprotected boolean invokeInterceptor(SessionImplementor session, Object entity, EntityEntry entry, Object[] values, EntityPersister persister)
invokeInterceptor
in class DefaultFlushEntityEventListener
Copyright © 2017 JBoss by Red Hat. All rights reserved.