public final class EventType<T> extends Object
Modifier and Type | Method and Description |
---|---|
Class |
baseListenerInterface() |
String |
eventName() |
int |
ordinal()
EventType is effectively an enumeration.
|
static EventType |
resolveEventTypeByName(String eventName)
Find an
EventType by its name |
String |
toString() |
static Collection<EventType> |
values()
Get a collection of all
EventType instances. |
public static final EventType<LoadEventListener> LOAD
public static final EventType<ResolveNaturalIdEventListener> RESOLVE_NATURAL_ID
public static final EventType<InitializeCollectionEventListener> INIT_COLLECTION
public static final EventType<SaveOrUpdateEventListener> SAVE_UPDATE
public static final EventType<SaveOrUpdateEventListener> UPDATE
public static final EventType<SaveOrUpdateEventListener> SAVE
public static final EventType<PersistEventListener> PERSIST
public static final EventType<PersistEventListener> PERSIST_ONFLUSH
public static final EventType<MergeEventListener> MERGE
public static final EventType<DeleteEventListener> DELETE
public static final EventType<ReplicateEventListener> REPLICATE
public static final EventType<FlushEventListener> FLUSH
public static final EventType<AutoFlushEventListener> AUTO_FLUSH
public static final EventType<DirtyCheckEventListener> DIRTY_CHECK
public static final EventType<FlushEntityEventListener> FLUSH_ENTITY
public static final EventType<ClearEventListener> CLEAR
public static final EventType<EvictEventListener> EVICT
public static final EventType<LockEventListener> LOCK
public static final EventType<RefreshEventListener> REFRESH
public static final EventType<PreLoadEventListener> PRE_LOAD
public static final EventType<PreDeleteEventListener> PRE_DELETE
public static final EventType<PreUpdateEventListener> PRE_UPDATE
public static final EventType<PreInsertEventListener> PRE_INSERT
public static final EventType<PostLoadEventListener> POST_LOAD
public static final EventType<PostDeleteEventListener> POST_DELETE
public static final EventType<PostUpdateEventListener> POST_UPDATE
public static final EventType<PostInsertEventListener> POST_INSERT
public static final EventType<PostDeleteEventListener> POST_COMMIT_DELETE
public static final EventType<PostUpdateEventListener> POST_COMMIT_UPDATE
public static final EventType<PostInsertEventListener> POST_COMMIT_INSERT
public static final EventType<PreCollectionRecreateEventListener> PRE_COLLECTION_RECREATE
public static final EventType<PreCollectionRemoveEventListener> PRE_COLLECTION_REMOVE
public static final EventType<PreCollectionUpdateEventListener> PRE_COLLECTION_UPDATE
public static final EventType<PostCollectionRecreateEventListener> POST_COLLECTION_RECREATE
public static final EventType<PostCollectionRemoveEventListener> POST_COLLECTION_REMOVE
public static final EventType<PostCollectionUpdateEventListener> POST_COLLECTION_UPDATE
public static EventType resolveEventTypeByName(String eventName)
EventType
by its nameeventName
- The nameEventType
instance.HibernateException
- If eventName is null, or if eventName does not correlate to any known event type.public static Collection<EventType> values()
EventType
instances.EventType
instancespublic String eventName()
public Class baseListenerInterface()
public int ordinal()
values()
EventType
, starting at 0 and up to the number of distinct eventsCopyright © 2017 JBoss by Red Hat. All rights reserved.