About event

61-70 of 145Refresh
JDO Doc
3

getSource()

Method javax.jdo.listener.InstanceLifecycleEvent Object getSource() The source object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Returns: The persistent instance on any pre- callback
JDO Doc
3

getTarget()

Method javax.jdo.listener.InstanceLifecycleEvent Object getTarget() The target object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Returns: The detached instance for preDetach and postAttach
JDO Doc
3

javax.jdo.Constants

See Also: PersistenceManagerFactory.supportedOptions() String OPTION_PREDIRTY_EVENT "javax.jdo.option
JDO Doc
3

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
3

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
3

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
3

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
3

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
3

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

javax.jdo.spi.RegisterClassEvent

javax.jdo.spi Class RegisterClassEvent java.lang.Object java.util.EventObject javax.jdo.spi.RegisterClassEvent Implemented Interfaces: Serializable A RegisterClassEvent event gets delivered whenever a persistence-capable class registers itself with the JDOImplHelper. Since: JDO 1.0