About listener

21-30 of 139Refresh
JDO Doc
53

javax.jdo.listener.InstanceLifecycleEvent

javax.jdo.listener Class InstanceLifecycleEvent java.lang.Object java.util.EventObject javax.jdo.listener.InstanceLifecycleEvent Implemented Interfaces: Serializable This is the event class used in life cycle event notifications. Note that although InstanceLifecycleEvent inherits
JDO Doc
53

javax.jdo.listener.LoadLifecycleListener

javax.jdo.listener Interface LoadLifecycleListener Superinterfaces: InstanceLifecycleListener This interface is implemented by listeners to be notified of load events. Since: JDO 2.0 void postLoad( InstanceLifecycleEvent event) Invoked whenever a persistent instance is loaded from the data store
JDO Doc
53

javax.jdo.listener.StoreLifecycleListener

javax.jdo.listener Interface StoreLifecycleListener Superinterfaces: InstanceLifecycleListener This interface is implemented by listeners to be notified of store events. Since: JDO 2.0 void postStore( InstanceLifecycleEvent event) Invoked whenever a persistent instance is stored, for example
JDO Doc
52

javax.jdo.listener.AttachCallback

javax.jdo.listener Interface AttachCallback This interface is used to notify instances of attach events. Since: JDO 2.0 void jdoPostAttach(Object attached) This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the persistent instance after the copy
JDO Doc
52

javax.jdo.listener.ClearCallback

javax.jdo.listener Interface ClearCallback Subinterfaces: InstanceCallbacks This interface is used to notify instances of clear events. Since: JDO 2.0 void jdoPreClear() Called before the values in the instance are cleared. Called before the values in the instance are cleared. Transient fields
JDO Doc
52

javax.jdo.listener.DeleteCallback

javax.jdo.listener Interface DeleteCallback Subinterfaces: InstanceCallbacks This interface is used to notify instances of delete events. Since: JDO 2.0 void jdoPreDelete() Called before the instance is deleted. Called before the instance is deleted. This method is called before the state
JDO Doc
52

javax.jdo.listener.DetachCallback

javax.jdo.listener Interface DetachCallback This interface is used to notify instances of detach events. Since: JDO 2.0 void jdoPostDetach(Object detached) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy
JDO Doc
52

javax.jdo.listener.LoadCallback

javax.jdo.listener Interface LoadCallback Subinterfaces: InstanceCallbacks This interface is used to notify instances of load events. Since: JDO 2.0 void jdoPostLoad() Called after the values are loaded from the data store into this instance. Called after the values are loaded from the data store
JDO Doc
52

javax.jdo.listener.StoreCallback

javax.jdo.listener Interface StoreCallback Subinterfaces: InstanceCallbacks This interface is used to notify instances of store events. Since: JDO 2.0 void jdoPreStore() Called before the values are stored from this instance to the data store. Called before the values are stored from this instance
Forum
19

How to define Default Entity Listeners without persistence.xml and orm.xml

Listeners. How to do ? Here my init code: Properties config = new Properties(); config.put("javax ... ); }   Thanks for any help   Defining default listeners is one of the few things that currently require XML metadata. You cannot define default listeners using annotations (at least in JPA 2.0). Is there a way