Package org.apache.openjpa.kernel
Class AttachManager
java.lang.Object
org.apache.openjpa.kernel.AttachManager
Handles attaching instances.
- Author:
- Marc Prud'hommeaux
-
Constructor Summary
ConstructorDescriptionAttachManager
(BrokerImpl broker, boolean copyNew, OpCallbacks call) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn an attached version of the given instance.Object[]
attachAll
(Collection instances) Return attached versions of the given instances.Return the behavior supplied on construction.boolean
Return whether to copy new instances being persisted.
-
Constructor Details
-
AttachManager
Constructor. Supply broker attaching to.
-
-
Method Details
-
getBehavior
Return the behavior supplied on construction. -
getCopyNew
public boolean getCopyNew()Return whether to copy new instances being persisted. -
attach
Return an attached version of the given instance. -
attachAll
Return attached versions of the given instances.
-