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)
initializeListeners
public void initializeListeners(Configuration cfg)
- Call
Initializable.initialize(org.hibernate.cfg.Configuration)
on any listeners that implement the
Initializable
interface.
- Parameters:
cfg
- The configuration.
destroyListeners
public void destroyListeners()
- Call
Destructible.cleanup()
on any listeners that implement the
Destructible
interface.
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)
getPreCollectionRecreateEventListeners
public PreCollectionRecreateEventListener[] getPreCollectionRecreateEventListeners()
setPreCollectionRecreateEventListeners
public void setPreCollectionRecreateEventListeners(PreCollectionRecreateEventListener[] preCollectionRecreateEventListener)
getPreCollectionRemoveEventListeners
public PreCollectionRemoveEventListener[] getPreCollectionRemoveEventListeners()
setPreCollectionRemoveEventListeners
public void setPreCollectionRemoveEventListeners(PreCollectionRemoveEventListener[] preCollectionRemoveEventListener)
getPreCollectionUpdateEventListeners
public PreCollectionUpdateEventListener[] getPreCollectionUpdateEventListeners()
setPreCollectionUpdateEventListeners
public void setPreCollectionUpdateEventListeners(PreCollectionUpdateEventListener[] preCollectionUpdateEventListeners)
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)
getPostCollectionRecreateEventListeners
public PostCollectionRecreateEventListener[] getPostCollectionRecreateEventListeners()
setPostCollectionRecreateEventListeners
public void setPostCollectionRecreateEventListeners(PostCollectionRecreateEventListener[] postCollectionRecreateEventListener)
getPostCollectionRemoveEventListeners
public PostCollectionRemoveEventListener[] getPostCollectionRemoveEventListeners()
setPostCollectionRemoveEventListeners
public void setPostCollectionRemoveEventListeners(PostCollectionRemoveEventListener[] postCollectionRemoveEventListener)
getPostCollectionUpdateEventListeners
public PostCollectionUpdateEventListener[] getPostCollectionUpdateEventListeners()
setPostCollectionUpdateEventListeners
public void setPostCollectionUpdateEventListeners(PostCollectionUpdateEventListener[] postCollectionUpdateEventListeners)
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)
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)
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.