|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.kernel.DetachManager
public class DetachManager
Handles detaching instances.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.kernel.DetachState |
---|
DETACH_ALL, DETACH_FETCH_GROUPS, DETACH_FGS, DETACH_LOADED |
Constructor Summary | |
---|---|
DetachManager(BrokerImpl broker,
boolean full,
OpCallbacks call)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
detach(java.lang.Object toDetach)
Return a detached version of the given instance. |
java.lang.Object[] |
detachAll(java.util.Collection instances)
Return detached versions of all the given instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DetachManager(BrokerImpl broker, boolean full, OpCallbacks call)
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-placeMethod Detail |
---|
public java.lang.Object detach(java.lang.Object toDetach)
public java.lang.Object[] detachAll(java.util.Collection instances)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |