|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.event.spi.EventType<T>
public class EventType<T>
Enumeration of the recognized types of events, including meta-information about each.
Method Summary | |
---|---|
Class |
baseListenerInterface()
|
String |
eventName()
|
static EventType |
resolveEventTypeByName(String eventName)
Find an EventType by its name |
String |
toString()
|
static Collection<EventType> |
values()
Get a collection of all EventType instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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<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 final Map<String,EventType> eventTypeByNameMap
EventType
instances keyed by name for lookup by name as well as values()
resolution.
Method Detail |
---|
public static EventType resolveEventTypeByName(String eventName)
EventType
by its name
eventName
- The name
EventType
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 String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |