128 words

javax.jdo.listener.AttachLifecycleListener - JDO interface

javax.jdo.listener
Interface AttachLifecycleListener

Superinterfaces:
InstanceLifecycleListener
This interface is implemented by listeners to be notified of attach events.
Since:
JDO 2.0
This method is called after a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method.
This method is called after a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. The source instance is the corresponding persistent instance in the cache; the target instance is the detached instance. This method is called after the corresponding AttachCallback.jdoPostAttach on the persistent instance.
Parameters:
event - the attach event.
Since:
JDO 2.0
This method is called before a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method.
This method is called before a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. The source instance is the detached instance. This method is called before the corresponding AttachCallback.jdoPreAttach on the detached instance.
Parameters:
event - the attach event.
Since:
JDO 2.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.