当前页面:
在线文档首页 >
Hibernate 3.2.4 正式版 API 英文文档
EventListeners (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档
org.hibernate.event
Class EventListeners
java.lang.Object
org.hibernate.util.Cloneable
org.hibernate.event.EventListeners
- All Implemented Interfaces:
- Serializable
- public class EventListeners
- extends Cloneable
- implements Serializable
A convience holder for all defined session event listeners.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventListeners
public EventListeners()
getListenerClassFor
public Class getListenerClassFor(String type)
getLoadEventListeners
public LoadEventListener[] getLoadEventListeners()
setLoadEventListeners
public void setLoadEventListeners(LoadEventListener[] loadEventListener)
getReplicateEventListeners
public ReplicateEventListener[] getReplicateEventListeners()
setReplicateEventListeners
public void setReplicateEventListeners(ReplicateEventListener[] replicateEventListener)
getDeleteEventListeners
public DeleteEventListener[] getDeleteEventListeners()
setDeleteEventListeners
public void setDeleteEventListeners(DeleteEventListener[] deleteEventListener)
getAutoFlushEventListeners
public AutoFlushEventListener[] getAutoFlushEventListeners()
setAutoFlushEventListeners
public void setAutoFlushEventListeners(AutoFlushEventListener[] autoFlushEventListener)
getDirtyCheckEventListeners
public DirtyCheckEventListener[] getDirtyCheckEventListeners()
setDirtyCheckEventListeners
public void setDirtyCheckEventListeners(DirtyCheckEventListener[] dirtyCheckEventListener)
getFlushEventListeners
public FlushEventListener[] getFlushEventListeners()
setFlushEventListeners
public void setFlushEventListeners(FlushEventListener[] flushEventListener)
getEvictEventListeners
public EvictEventListener[] getEvictEventListeners()
setEvictEventListeners
public void setEvictEventListeners(EvictEventListener[] evictEventListener)
getLockEventListeners
public LockEventListener[] getLockEventListeners()
setLockEventListeners
public void setLockEventListeners(LockEventListener[] lockEventListener)
getRefreshEventListeners
public RefreshEventListener[] getRefreshEventListeners()
setRefreshEventListeners
public void setRefreshEventListeners(RefreshEventListener[] refreshEventListener)
getInitializeCollectionEventListeners
public InitializeCollectionEventListener[] getInitializeCollectionEventListeners()
setInitializeCollectionEventListeners
public void setInitializeCollectionEventListeners(InitializeCollectionEventListener[] initializeCollectionEventListener)
getFlushEntityEventListeners
public FlushEntityEventListener[] getFlushEntityEventListeners()
setFlushEntityEventListeners
public void setFlushEntityEventListeners(FlushEntityEventListener[] flushEntityEventListener)
getSaveOrUpdateEventListeners
public SaveOrUpdateEventListener[] getSaveOrUpdateEventListeners()
setSaveOrUpdateEventListeners
public void setSaveOrUpdateEventListeners(SaveOrUpdateEventListener[] saveOrUpdateEventListener)
getMergeEventListeners
public MergeEventListener[] getMergeEventListeners()
setMergeEventListeners
public void setMergeEventListeners(MergeEventListener[] mergeEventListener)
getPersistEventListeners
public PersistEventListener[] getPersistEventListeners()
setPersistEventListeners
public void setPersistEventListeners(PersistEventListener[] createEventListener)
getPersistOnFlushEventListeners
public PersistEventListener[] getPersistOnFlushEventListeners()
setPersistOnFlushEventListeners
public void setPersistOnFlushEventListeners(PersistEventListener[] createEventListener)
getSaveOrUpdateCopyEventListeners
public MergeEventListener[] getSaveOrUpdateCopyEventListeners()
setSaveOrUpdateCopyEventListeners
public void setSaveOrUpdateCopyEventListeners(MergeEventListener[] saveOrUpdateCopyEventListener)
getSaveEventListeners
public SaveOrUpdateEventListener[] getSaveEventListeners()
setSaveEventListeners
public void setSaveEventListeners(SaveOrUpdateEventListener[] saveEventListener)
getUpdateEventListeners
public SaveOrUpdateEventListener[] getUpdateEventListeners()
setUpdateEventListeners
public void setUpdateEventListeners(SaveOrUpdateEventListener[] updateEventListener)
getPostLoadEventListeners
public PostLoadEventListener[] getPostLoadEventListeners()
setPostLoadEventListeners
public void setPostLoadEventListeners(PostLoadEventListener[] postLoadEventListener)
getPreLoadEventListeners
public PreLoadEventListener[] getPreLoadEventListeners()
setPreLoadEventListeners
public void setPreLoadEventListeners(PreLoadEventListener[] preLoadEventListener)
getPostDeleteEventListeners
public PostDeleteEventListener[] getPostDeleteEventListeners()
getPostInsertEventListeners
public PostInsertEventListener[] getPostInsertEventListeners()
getPostUpdateEventListeners
public PostUpdateEventListener[] getPostUpdateEventListeners()
setPostDeleteEventListeners
public void setPostDeleteEventListeners(PostDeleteEventListener[] postDeleteEventListener)
setPostInsertEventListeners
public void setPostInsertEventListeners(PostInsertEventListener[] postInsertEventListener)
setPostUpdateEventListeners
public void setPostUpdateEventListeners(PostUpdateEventListener[] postUpdateEventListener)
getPreDeleteEventListeners
public PreDeleteEventListener[] getPreDeleteEventListeners()
setPreDeleteEventListeners
public void setPreDeleteEventListeners(PreDeleteEventListener[] preDeleteEventListener)
getPreInsertEventListeners
public PreInsertEventListener[] getPreInsertEventListeners()
setPreInsertEventListeners
public void setPreInsertEventListeners(PreInsertEventListener[] preInsertEventListener)
getPreUpdateEventListeners
public PreUpdateEventListener[] getPreUpdateEventListeners()
setPreUpdateEventListeners
public void setPreUpdateEventListeners(PreUpdateEventListener[] preUpdateEventListener)
initializeListeners
public void initializeListeners(Configuration cfg)
- Call initialize() on any listeners that implement
Initializable.
- See Also:
Initializable
getPostCommitDeleteEventListeners
public PostDeleteEventListener[] getPostCommitDeleteEventListeners()
setPostCommitDeleteEventListeners
public void setPostCommitDeleteEventListeners(PostDeleteEventListener[] postCommitDeleteEventListeners)
getPostCommitInsertEventListeners
public PostInsertEventListener[] getPostCommitInsertEventListeners()
setPostCommitInsertEventListeners
public void setPostCommitInsertEventListeners(PostInsertEventListener[] postCommitInsertEventListeners)
getPostCommitUpdateEventListeners
public PostUpdateEventListener[] getPostCommitUpdateEventListeners()
setPostCommitUpdateEventListeners
public void setPostCommitUpdateEventListeners(PostUpdateEventListener[] postCommitUpdateEventListeners)