public class ClosureEventTriggeringInterceptor extends AbstractClosureEventTriggeringInterceptor
Listens for Hibernate events and publishes corresponding Datastore events.
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.Object |
getEntity(org.hibernate.event.spi.SaveOrUpdateEvent hibernateEvent) |
|
public void |
onPostDelete(org.hibernate.event.spi.PostDeleteEvent hibernateEvent) |
|
public void |
onPostInsert(org.hibernate.event.spi.PostInsertEvent hibernateEvent) |
|
public void |
onPostLoad(org.hibernate.event.spi.PostLoadEvent hibernateEvent) |
|
public void |
onPostUpdate(org.hibernate.event.spi.PostUpdateEvent hibernateEvent) |
|
public boolean |
onPreDelete(org.hibernate.event.spi.PreDeleteEvent hibernateEvent) |
|
public boolean |
onPreInsert(org.hibernate.event.spi.PreInsertEvent hibernateEvent) |
|
public void |
onPreLoad(org.hibernate.event.spi.PreLoadEvent hibernateEvent) |
|
public boolean |
onPreUpdate(org.hibernate.event.spi.PreUpdateEvent hibernateEvent) |
|
public void |
onSaveOrUpdate(org.hibernate.event.spi.SaveOrUpdateEvent hibernateEvent) |
|
public boolean |
requiresPostCommitHanding(EntityPersister persister) |
|
public void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
|
public void |
setDatastore(AbstractHibernateDatastore datastore) |
|
public void |
setEventPublisher(ConfigurableApplicationEventPublisher eventPublisher) |