mirror of https://github.com/apache/openjpa.git
Allow read-only access to operating set of instances to extensions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@606946 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a3c2d2a487
commit
e868210ca0
|
@ -323,6 +323,13 @@ public class BrokerImpl
|
|||
private void initializeOperatingSet() {
|
||||
_operating = MapBackedSet.decorate(new IdentityMap());
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the unmodifiable set of instances being operated.
|
||||
*/
|
||||
protected Set getOperatingSet() {
|
||||
return Collections.unmodifiableSet(_operating);
|
||||
}
|
||||
|
||||
public Object clone()
|
||||
throws CloneNotSupportedException {
|
||||
|
|
Loading…
Reference in New Issue