openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1140193 - /openjpa/sandboxes/perf-2.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Date Mon, 27 Jun 2011 15:02:36 GMT
Author: curtisr7
Date: Mon Jun 27 15:02:35 2011
New Revision: 1140193

URL: http://svn.apache.org/viewvc?rev=1140193&view=rev
Log:
OPENJPA-2020: Open up some of StateManagerImpl to all for greater extensibility.

Modified:
    openjpa/sandboxes/perf-2.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java

Modified: openjpa/sandboxes/perf-2.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/sandboxes/perf-2.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java?rev=1140193&r1=1140192&r2=1140193&view=diff
==============================================================================
--- openjpa/sandboxes/perf-2.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
(original)
+++ openjpa/sandboxes/perf-2.1.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Mon Jun 27 15:02:35 2011
@@ -113,12 +113,12 @@ public class StateManagerImpl
         (StateManagerImpl.class);
 
     // information about the instance
-    private transient PersistenceCapable _pc = null;
-    private transient ClassMetaData _meta = null;
-    private BitSet _loaded = null;
-    private BitSet _dirty = null;
-    private BitSet _flush = null;
-    private int _flags = 0;
+    protected transient PersistenceCapable _pc = null;
+    protected transient ClassMetaData _meta = null;
+    protected BitSet _loaded = null;
+    protected BitSet _dirty = null;
+    protected BitSet _flush = null;
+    protected int _flags = 0;
 
     // id is the state manager identity; oid is the persistent identity.  oid
     // may be null for embedded and transient-transactional objects or new
@@ -145,8 +145,8 @@ public class StateManagerImpl
     private FieldManager _fm = null;
 
     // impldata; field impldata and intermediate data share the same array
-    private Object _impl = null;
-    private Object[] _fieldImpl = null;
+    protected Object _impl = null;
+    protected Object[] _fieldImpl = null;
 
     // information about the owner of this instance, if it is embedded
     private StateManagerImpl _owner = null;
@@ -788,7 +788,7 @@ public class StateManagerImpl
     /**
      * Return the data from the proper index of the extra field data array.
      */
-    private synchronized Object getExtraFieldData(int field, boolean isLoaded) {
+    protected synchronized Object getExtraFieldData(int field, boolean isLoaded) {
         // only return the field data if the field is in the right loaded
         // state; otherwise we might return intermediate for impl data or
         // vice versa



Mime
View raw message