Home » Search

About event

41-50 of 138Refresh
JDO Doc
8

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
8

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
7

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
7

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
7

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
7

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
JDO Doc
7

InstanceLifecycleEvent(source, type, target)

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

javax.jdo.InstanceCallbacks

, StoreCallback A PersistenceCapable class that provides callback methods for life cycle events ... require callbacks on specific JDO instance life cycle events in order to correctly populate ... . When the persistent instance is made hollow, it can no longer generate change events
JDO Doc
7

javax.jdo.spi.RegisterClassListener

" event gets fired whenever a persistence-capable class is loaded and gets registered ... of a persistence-capable class. Since: JDO 1.0 void registerClass( RegisterClassEvent event) This method gets ... -capable class is registered. Parameters: event - a RegisterClassEvent instance describing the registered class plus metadata. Since: JDO 1.0
JDO Doc
5

getDetachedInstance()

Method javax.jdo.listener.InstanceLifecycleEvent Object getDetachedInstance() Returns the detached instance involved in the event. Returns: The detached instance involved in the event, or null if there was none. Since: JDO 2.0 See Also: "Section 12.15, Java Data Objects 2.0 Specification"