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
|
@ -324,6 +324,13 @@ public class BrokerImpl
|
||||||
_operating = MapBackedSet.decorate(new IdentityMap());
|
_operating = MapBackedSet.decorate(new IdentityMap());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the unmodifiable set of instances being operated.
|
||||||
|
*/
|
||||||
|
protected Set getOperatingSet() {
|
||||||
|
return Collections.unmodifiableSet(_operating);
|
||||||
|
}
|
||||||
|
|
||||||
public Object clone()
|
public Object clone()
|
||||||
throws CloneNotSupportedException {
|
throws CloneNotSupportedException {
|
||||||
if (_initializeWasInvoked)
|
if (_initializeWasInvoked)
|
||||||
|
|
Loading…
Reference in New Issue