mirror of https://github.com/apache/openjpa.git
some visibility fixes
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@421688 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
26ee3648c3
commit
4bc5b3bd0f
|
@ -52,11 +52,9 @@ import serp.util.Numbers;
|
||||||
* @author Patrick Linskey
|
* @author Patrick Linskey
|
||||||
* @since 2.5.0
|
* @since 2.5.0
|
||||||
*/
|
*/
|
||||||
class QueryCacheStoreQuery
|
public class QueryCacheStoreQuery
|
||||||
implements StoreQuery {
|
implements StoreQuery {
|
||||||
|
|
||||||
private static Object NULL = new Object();
|
|
||||||
|
|
||||||
private final StoreQuery _query;
|
private final StoreQuery _query;
|
||||||
private final QueryCache _cache;
|
private final QueryCache _cache;
|
||||||
private StoreContext _sctx;
|
private StoreContext _sctx;
|
||||||
|
@ -456,7 +454,7 @@ class QueryCacheStoreQuery
|
||||||
* Result list implementation for a cached query result. Package-protected
|
* Result list implementation for a cached query result. Package-protected
|
||||||
* for testing.
|
* for testing.
|
||||||
*/
|
*/
|
||||||
static class CachedList
|
public static class CachedList
|
||||||
extends AbstractList
|
extends AbstractList
|
||||||
implements Serializable {
|
implements Serializable {
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ import java.util.List;
|
||||||
import org.apache.openjpa.conf.OpenJPAConfiguration;
|
import org.apache.openjpa.conf.OpenJPAConfiguration;
|
||||||
import org.apache.openjpa.kernel.Broker;
|
import org.apache.openjpa.kernel.Broker;
|
||||||
import org.apache.openjpa.kernel.OpenJPAStateManager;
|
import org.apache.openjpa.kernel.OpenJPAStateManager;
|
||||||
import org.apache.openjpa.lib.log.Log;
|
|
||||||
import org.apache.openjpa.lib.util.Closeable;
|
import org.apache.openjpa.lib.util.Closeable;
|
||||||
import org.apache.openjpa.lib.util.Localizer;
|
import org.apache.openjpa.lib.util.Localizer;
|
||||||
import org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager;
|
import org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager;
|
||||||
|
@ -48,7 +47,6 @@ public class RemoteCommitEventManager
|
||||||
(RemoteCommitEventManager.class);
|
(RemoteCommitEventManager.class);
|
||||||
|
|
||||||
private final RemoteCommitProvider _provider;
|
private final RemoteCommitProvider _provider;
|
||||||
private final Log _log;
|
|
||||||
private boolean _transmitPersIds = false;
|
private boolean _transmitPersIds = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -58,9 +56,7 @@ public class RemoteCommitEventManager
|
||||||
_provider = conf.newRemoteCommitProviderInstance();
|
_provider = conf.newRemoteCommitProviderInstance();
|
||||||
if (_provider != null) {
|
if (_provider != null) {
|
||||||
_provider.setRemoteCommitEventManager(this);
|
_provider.setRemoteCommitEventManager(this);
|
||||||
_log = conf.getLog(OpenJPAConfiguration.LOG_RUNTIME);
|
}
|
||||||
} else
|
|
||||||
_log = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -69,7 +69,7 @@ import serp.util.Numbers;
|
||||||
*
|
*
|
||||||
* @author Abe White
|
* @author Abe White
|
||||||
*/
|
*/
|
||||||
class StateManagerImpl
|
public class StateManagerImpl
|
||||||
implements OpenJPAStateManager {
|
implements OpenJPAStateManager {
|
||||||
|
|
||||||
public static final int LOAD_FGS = 0;
|
public static final int LOAD_FGS = 0;
|
||||||
|
@ -140,7 +140,7 @@ class StateManagerImpl
|
||||||
/**
|
/**
|
||||||
* Constructor; supply id, type metadata, and owning persistence manager.
|
* Constructor; supply id, type metadata, and owning persistence manager.
|
||||||
*/
|
*/
|
||||||
StateManagerImpl(Object id, ClassMetaData meta, BrokerImpl broker) {
|
protected StateManagerImpl(Object id, ClassMetaData meta, BrokerImpl broker) {
|
||||||
_id = id;
|
_id = id;
|
||||||
_meta = meta;
|
_meta = meta;
|
||||||
_broker = broker;
|
_broker = broker;
|
||||||
|
|
Loading…
Reference in New Issue