public class AttachManager extends Object
Constructor and Description |
---|
AttachManager(BrokerImpl broker,
boolean copyNew,
OpCallbacks call)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
attach(Object pc)
Return an attached version of the given instance.
|
Object[] |
attachAll(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 Object[] attachAll(Collection instances)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.