mirror of https://github.com/apache/openjpa.git
OPENJPA-2347: Make StateManagerImpl more extensibile.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452874 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
80d1fddb75
commit
8c23eb3f48
|
@ -83,9 +83,7 @@ import org.apache.openjpa.util.UserException;
|
|||
*
|
||||
* @author Abe White
|
||||
*/
|
||||
public class StateManagerImpl
|
||||
implements OpenJPAStateManager, Serializable {
|
||||
|
||||
public class StateManagerImpl implements OpenJPAStateManager, Serializable {
|
||||
public static final int LOAD_FGS = 0;
|
||||
public static final int LOAD_ALL = 1;
|
||||
public static final int LOAD_SERIALIZE = 2;
|
||||
|
@ -134,8 +132,8 @@ public class StateManagerImpl
|
|||
protected PCState _state = PCState.TRANSIENT;
|
||||
|
||||
// the current and last loaded version indicators, and the lock object
|
||||
private Object _version = null;
|
||||
private Object _loadVersion = null;
|
||||
protected Object _version = null;
|
||||
protected Object _loadVersion = null;
|
||||
private Object _lock = null;
|
||||
private int _readLockLevel = -1;
|
||||
private int _writeLockLevel = -1;
|
||||
|
|
Loading…
Reference in New Issue