Method Summary |
|
public void | addListener(Object listener, Class[] classes) Adds a new listener to this handler. |
public void | close() Clear any objects to release resources. |
protected List | getListenersWorkingCopy() Accessor for the working copy of the listeners (in case any are added/removed in the callbacks). |
public void | postAttach(Object pc, Object detachedPC) Callback after the object is attached. |
public void | postClear(Object pc) Callback after the fields of the object are cleared. |
public void | postCreate(Object pc) Callback after the object has been created. |
public void | postDelete(Object pc) Callback after the object is deleted. |
public void | postDetach(Object pc, Object detachedPC) Callback after the object is detached. |
public void | postDirty(Object pc) Callback after the object is made dirty. |
public void | postLoad(Object pc) Callback after the fields of the object are loaded. |
public void | postRefresh(Object pc) Callback after the fields of the object are refreshed. |
public void | postStore(Object pc) Callback after the object is stored. |
public void | preAttach(Object pc) Callback before the object is attached. |
public void | preClear(Object pc) Callback before the fields of the object are cleared. |
public void | preDelete(Object pc) Callback before the object is deleted. |
public void | preDetach(Object pc) Callback before the object is detached. |
public void | preDirty(Object pc) Callback before the object is made dirty. |
public void | prePersist(Object pc) Callback before the object is persisted (just before the lifecycle state change). |
public void | preStore(Object pc) Callback before the object is stored. |
public void | removeListener(Object listener) Remove a listener for this handler. |