ObjectDB ObjectDB

getSource() - JDO InstanceLifecycleEvent's method

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 except preAttach, or the detached instance for a postDetach or preAttach callback.
Since:
JDO 2.0
See Also:
getPersistentInstance()
getDetachedInstance()
"Section 12.15, Java Data Objects 2.0 Specification"