Package org.apache.cayenne.configuration
Class DefaultObjectStoreFactory
java.lang.Object
org.apache.cayenne.configuration.DefaultObjectStoreFactory
- All Implemented Interfaces:
ObjectStoreFactory
A default implementation of
ObjectStoreFactory
which makes decision to
turn ObjectStore
's syncing with parent DataRowStore
on or off
basing on RuntimeProperties
.- Since:
- 3.1
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateObjectStore
(DataRowStore dataRowCache) Creates anObjectStore
with provided dataRowCache
-
Field Details
-
runtimeProperties
-
retainStrategy
-
-
Constructor Details
-
DefaultObjectStoreFactory
public DefaultObjectStoreFactory()
-
-
Method Details
-
createObjectStore
Description copied from interface:ObjectStoreFactory
Creates anObjectStore
with provided dataRowCache- Specified by:
createObjectStore
in interfaceObjectStoreFactory
-