|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.jpa.JPACallbackHandler
public class JPACallbackHandler
CallbackHandler implementation for JPA.
| Constructor Summary | |
|---|---|
JPACallbackHandler()
|
|
| Method Summary | |
|---|---|
void |
addListener(java.lang.Object listener,
java.lang.Class[] classes)
Adds a new listener to this handler. |
void |
close()
Clear any objects to release resources. |
void |
postAttach(java.lang.Object pc,
java.lang.Object detachedPC)
Callback after the object is attached. |
void |
postClear(java.lang.Object pc)
Callback after the fields of the object are cleared. |
void |
postCreate(java.lang.Object pc)
Callback after the object has been created. |
void |
postDelete(java.lang.Object pc)
Callback after the object is deleted. |
void |
postDetach(java.lang.Object pc,
java.lang.Object detachedPC)
Callback after the object is detached. |
void |
postDirty(java.lang.Object pc)
Callback after the object is made dirty. |
void |
postLoad(java.lang.Object pc)
Callback after the fields of the object are loaded. |
void |
postRefresh(java.lang.Object pc)
Callback after the fields of the object are refreshed. |
void |
postStore(java.lang.Object pc)
Callback after the object is stored. |
void |
preAttach(java.lang.Object pc)
Callback before the object is attached. |
void |
preClear(java.lang.Object pc)
Callback before the fields of the object are cleared. |
void |
preDelete(java.lang.Object pc)
Callback before the object is deleted (after calling remove() but before the lifecycle state change). |
void |
preDetach(java.lang.Object pc)
Callback before the object is detached. |
void |
preDirty(java.lang.Object pc)
Callback before the object is made dirty. |
void |
prePersist(java.lang.Object pc)
Callback before the object is persisted (just before the lifecycle state change). |
void |
preStore(java.lang.Object pc)
Callback before the object is stored. |
void |
removeListener(java.lang.Object listener)
Remove a listener for this handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPACallbackHandler()
| Method Detail |
|---|
public void postCreate(java.lang.Object pc)
postCreate in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void prePersist(java.lang.Object pc)
prePersist in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void preStore(java.lang.Object pc)
preStore in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void postStore(java.lang.Object pc)
postStore in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void preClear(java.lang.Object pc)
preClear in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void postClear(java.lang.Object pc)
postClear in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void preDelete(java.lang.Object pc)
preDelete in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void postDelete(java.lang.Object pc)
postDelete in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void preDirty(java.lang.Object pc)
preDirty in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void postDirty(java.lang.Object pc)
postDirty in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void postLoad(java.lang.Object pc)
postLoad in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void postRefresh(java.lang.Object pc)
postRefresh in interface org.datanucleus.state.CallbackHandlerpc - The Objectpublic void preDetach(java.lang.Object pc)
preDetach in interface org.datanucleus.state.CallbackHandlerpc - The Object
public void postDetach(java.lang.Object pc,
java.lang.Object detachedPC)
postDetach in interface org.datanucleus.state.CallbackHandlerpc - The ObjectdetachedPC - The detached objectpublic void preAttach(java.lang.Object pc)
preAttach in interface org.datanucleus.state.CallbackHandlerpc - The Object
public void postAttach(java.lang.Object pc,
java.lang.Object detachedPC)
postAttach in interface org.datanucleus.state.CallbackHandlerpc - The attached ObjectdetachedPC - The detached object
public void addListener(java.lang.Object listener,
java.lang.Class[] classes)
addListener in interface org.datanucleus.state.CallbackHandlerlistener - the listener instanceclasses - the persistent classes which events are fired for the listenerpublic void removeListener(java.lang.Object listener)
removeListener in interface org.datanucleus.state.CallbackHandlerlistener - the listener instancepublic void close()
close in interface org.datanucleus.state.CallbackHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||