Class CayenneContextFactory
java.lang.Object
org.apache.cayenne.configuration.rop.client.CayenneContextFactory
- All Implemented Interfaces:
ObjectContextFactory
-
Field Summary
Modifier and TypeFieldDescriptionprotected DataChannel
protected Injector
protected RuntimeProperties
protected QueryCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates an ObjectContext attached to a default DataChannel.createContext
(DataChannel parent) Creates an ObjectContext attached to a provided channel.protected org.apache.cayenne.CayenneContext
newInstance
(DataChannel parent, boolean changeEventsEnabled, boolean lifecycleEventsEnabled)
-
Field Details
-
dataChannel
-
properties
-
queryCache
-
injector
-
-
Constructor Details
-
CayenneContextFactory
public CayenneContextFactory()
-
-
Method Details
-
createContext
Description copied from interface:ObjectContextFactory
Creates an ObjectContext attached to a default DataChannel.- Specified by:
createContext
in interfaceObjectContextFactory
-
createContext
Description copied from interface:ObjectContextFactory
Creates an ObjectContext attached to a provided channel. This is often used for nested context creation.- Specified by:
createContext
in interfaceObjectContextFactory
-
newInstance
protected org.apache.cayenne.CayenneContext newInstance(DataChannel parent, boolean changeEventsEnabled, boolean lifecycleEventsEnabled)
-