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:
Pinaki Poddar 2007-12-26 21:02:43 +00:00
parent a3c2d2a487
commit e868210ca0
1 changed files with 7 additions and 0 deletions
openjpa-kernel/src/main/java/org/apache/openjpa/kernel

View File

@ -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 {