Invokes closure events on domain entities such as beforeInsert, beforeUpdate and beforeDelete.
Modifiers | Name | Description |
---|---|---|
protected java.util.concurrent.ConcurrentMap<SoftKey<java.lang.Class<?>>, java.lang.Boolean> |
cachedShouldTrigger |
|
protected boolean |
failOnError |
|
protected java.util.List<?> |
failOnErrorPackages |
|
protected org.apache.commons.logging.Log |
log |
Fields inherited from class | Fields |
---|---|
class AbstractPersistenceEventListener |
datastore |
Constructor and description |
---|
protected AbstractEventTriggeringInterceptor
(Datastore datastore) |
Type | Name and description |
---|---|
protected java.util.List<java.lang.String> |
getDatasourceNames(PersistentEntity dc) |
protected boolean |
isDefinedByCurrentDataStore(java.lang.Object entity, org.grails.orm.hibernate.cfg.AbstractGrailsDomainBinder binder) |
boolean |
supportsEventType(java.lang.Class<? extends org.springframework.context.ApplicationEvent> eventType) {@inheritDoc} |
Methods inherited from class | Name |
---|---|
class AbstractPersistenceEventListener |
getOrder, onApplicationEvent, onPersistenceEvent, supportsSourceType |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
{@inheritDoc}