org.apache.openjpa.kernel
public class AttachManager extends java.lang.Object
Constructor and Description |
---|
AttachManager(BrokerImpl broker,
boolean copyNew,
OpCallbacks call)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
attach(java.lang.Object pc)
Return an attached version of the given instance.
|
java.lang.Object[] |
attachAll(java.util.Collection instances)
Return attached versions of the given instances.
|
OpCallbacks |
getBehavior()
Return the behavior supplied on construction.
|
boolean |
getCopyNew()
Return whether to copy new instances being persisted.
|
public AttachManager(BrokerImpl broker, boolean copyNew, OpCallbacks call)
public OpCallbacks getBehavior()
public boolean getCopyNew()
public java.lang.Object attach(java.lang.Object pc)
public java.lang.Object[] attachAll(java.util.Collection instances)