About event

41-50 of 145Refresh
JDO Doc
10

javax.jdo.listener.StoreLifecycleListener

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 ... .commit. It is called after the field values have been stored. Parameters: event - the store event
JDO Doc
10

javax.jdo.PersistenceManager

to the list of lifecycle event listeners. Adds the listener instance to the list of lifecycle event listeners ... is specified as null, events for all persistent classes and interfaces will be sent to listenerInstance. The listenerInstance will be called for each event for which it implements the corresponding
JDO Doc
9

javax.jdo.PersistenceManagerFactory

 listener, Class[] classes) Add the parameter listener to the list of instance lifecycle event ... . Add the parameter listener to the list of instance lifecycle event listeners set as the initial ... of interest. If the classes parameter is specified as null, events for all persistent classes and interfaces
JDO Doc
8

javax.jdo.listener.DirtyLifecycleListener

This interface is implemented by listeners to be notified of dirty events. Since: JDO 2.0 void postDirty( InstanceLifecycleEvent event) Invoked whenever a persistent instance is first made dirty ... transactional field. Called after the value is changed. Parameters: event - Since: JDO 2.0 void
JDO Doc
7

javax.jdo.listener.CreateLifecycleListener

This interface is implemented by listeners to be notified of create events. Since: JDO 2.0 void postCreate( InstanceLifecycleEvent event) Invoked whenever an instance is made persistent ... during persistence by reachability. Parameters: event - the create event. Since: JDO 2.0
JDO Doc
7

javax.jdo.listener.LoadLifecycleListener

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 ... LoadCallback.jdoPostLoad is invoked on the persistent instance. Parameters: event - the load event. Since: JDO 2.0
JDO Doc
6

addInstanceLifecycleListener(listener, classes)

 listener,   Class... classes ) Adds the listener instance to the list of lifecycle event listeners ... is specified as null, events for all persistent classes and interfaces will be sent to listenerInstance. The listenerInstance will be called for each event for which it implements the corresponding
JDO Doc
6

addInstanceLifecycleListener(listener, classes)

event listeners set as the initial listeners for each PersistenceManager created by ... all of the classes of interest. If the classes parameter is specified as null, events for all persistent classes and interfaces will be sent to the listener. The listener will be called for each event
JDO Doc
6

getEventType()

Method javax.jdo.listener.InstanceLifecycleEvent int getEventType() Returns the event type that triggered this event. Returns: the event type Since: JDO 2.0
JDO Doc
6

InstanceLifecycleEvent(source, type)

Constructor javax.jdo.listener.InstanceLifecycleEvent InstanceLifecycleEvent(   Object source,   int type ) Creates a new event object with the specified source and type. Parameters: source - the instance that triggered the event type - the event type Since: JDO 2.0