Package org.apache.openjpa.kernel
Class DetachManager
java.lang.Object
org.apache.openjpa.kernel.DetachManager
- All Implemented Interfaces:
DetachState
Handles detaching instances.
- Author:
- Marc Prud'hommeaux
-
Field Summary
Fields inherited from interface org.apache.openjpa.kernel.DetachState
DETACH_ALL, DETACH_FETCH_GROUPS, DETACH_FGS, DETACH_LOADED
-
Constructor Summary
ConstructorDescriptionDetachManager
(BrokerImpl broker, boolean full, OpCallbacks call) Constructor. -
Method Summary
-
Constructor Details
-
DetachManager
Constructor.- Parameters:
broker
- owning brokerfull
- whether the entire broker cache is being detached; if this is the case, we assume the broker has already flushed if needed, and that we're detaching in-place
-
-
Method Details
-
detach
Return a detached version of the given instance. -
detachAll
Return detached versions of all the given instances. If not copying, null will be returned.
-