About context listener

11-20 of 200Refresh
JDO Doc
21

addInstanceLifecycleListener(listener, classes)

Method javax.jdo.PersistenceManager void addInstanceLifecycleListener(   InstanceLifecycleListener listener,   Class... classes ) Adds the listener instance to the list of lifecycle event listeners ... listenerInstance interface. Parameters: listener - the lifecycle listener classes - the classes of interest to the listener Since: JDO 2.0
JDO Doc
21

removeInstanceLifecycleListener(listener)

(   InstanceLifecycleListener listener ) Remove the parameter listener instance from the list of instance lifecycle event listeners set as the initial listeners for each PersistenceManager created by ... is configurable (before the first time getPersistenceManager is called). Parameters: listener - the listener instance to be removed Since: JDO 2.0
JDO Doc
20

removeInstanceLifecycleListener(listener)

Method javax.jdo.PersistenceManager void removeInstanceLifecycleListener(   InstanceLifecycleListener listener ) Removes the listener instance from the list of lifecycle event listeners. Parameters: listener - the listener instance to be removed Since: JDO 2.0
JDO Doc
20

Constants.PROPERTY_INSTANCE_LIFECYCLE_LISTENER

Static Field javax.jdo.Constants String PROPERTY_INSTANCE_LIFECYCLE_LISTENER "javax.jdo.listener.InstanceLifecycleListener" Since: JDO 2.1 See Also: PersistenceManagerFactory.addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener,Class[]) PersistenceManagerFactory.removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener)
JDO Doc
20

Constants.PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER

Static Field javax.jdo.Constants String PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER Prefix used to configure javax.jdo.listener.InstanceLifecycleListener instances externally. To configure ... and append the fully qualified listener class name, then set its value to the comma- or whitespace-delimited
JDO Doc
20

javax.jdo.listener.InstanceLifecycleListener

javax.jdo.listener Interface InstanceLifecycleListener Subinterfaces: AttachLifecycleListener ... , DirtyLifecycleListener, LoadLifecycleListener, StoreLifecycleListener All lifecycle listeners extend from ... can be defined to use a life-cycle listener pattern instead of having the domain class implement the callback interface(s). Since: JDO 2.0
JDO Doc
19

Constants.ELEMENT_INSTANCE_LIFECYCLE_LISTENER

Static Field javax.jdo.Constants String ELEMENT_INSTANCE_LIFECYCLE_LISTENER The name of the instance lifecycle listener element in the JDO configuration file. Since: JDO 2.1
JDO Doc
19

Constants.INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_CLASSES

Static Field javax.jdo.Constants String INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_CLASSES The name of the instance lifecycle listener element's "classes" attribute. Since: JDO 2.1
JDO Doc
19

javax.jdo.listener.AttachLifecycleListener

javax.jdo.listener Interface AttachLifecycleListener Superinterfaces: InstanceLifecycleListener This interface is implemented by listeners to be notified of attach events. Since: JDO 2.0 void postAttach( InstanceLifecycleEvent event) This method is called after a detached instance is attached
JDO Doc
19

javax.jdo.listener.ClearLifecycleListener

javax.jdo.listener Interface ClearLifecycleListener Superinterfaces: InstanceLifecycleListener This interface is implemented by listeners to be notified of clear events. Since: JDO 2.0 void postClear( InstanceLifecycleEvent event) This method is called after the ClearCallback.jdoPreClear method