About listener

71-80 of 143Refresh
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

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
3

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
3

InstanceLifecycleEvent.ATTACH

Static Field javax.jdo.listener.InstanceLifecycleEvent int ATTACH Since: JDO 2.0
JDO Doc
3

InstanceLifecycleEvent.CLEAR

Static Field javax.jdo.listener.InstanceLifecycleEvent int CLEAR Since: JDO 2.0
JDO Doc
3

InstanceLifecycleEvent.CREATE

Static Field javax.jdo.listener.InstanceLifecycleEvent int CREATE Since: JDO 2.0
JDO Doc
3

InstanceLifecycleEvent.DELETE

Static Field javax.jdo.listener.InstanceLifecycleEvent int DELETE Since: JDO 2.0
JDO Doc
3

InstanceLifecycleEvent.DETACH

Static Field javax.jdo.listener.InstanceLifecycleEvent int DETACH Since: JDO 2.0
JDO Doc
3

InstanceLifecycleEvent.DIRTY

Static Field javax.jdo.listener.InstanceLifecycleEvent int DIRTY Since: JDO 2.0
JDO Doc
3

InstanceLifecycleEvent.LOAD

Static Field javax.jdo.listener.InstanceLifecycleEvent int LOAD Since: JDO 2.0