Class CayenneContextFactory
java.lang.Object
org.apache.cayenne.configuration.rop.client.CayenneContextFactory
- All Implemented Interfaces:
- ObjectContextFactory
public class CayenneContextFactory extends Object implements ObjectContextFactory
- 
Field SummaryFields Modifier and Type Field Description protected DataChanneldataChannelprotected Injectorinjectorprotected RuntimePropertiespropertiesprotected QueryCachequeryCache
- 
Constructor SummaryConstructors Constructor Description CayenneContextFactory()
- 
Method SummaryModifier and Type Method Description ObjectContextcreateContext()Creates an ObjectContext attached to a default DataChannel.ObjectContextcreateContext(DataChannel parent)Creates an ObjectContext attached to a provided channel.protected org.apache.cayenne.CayenneContextnewInstance(DataChannel parent, boolean changeEventsEnabled, boolean lifecycleEventsEnabled)
- 
Field Details- 
dataChannel
- 
properties
- 
queryCache
- 
injector
 
- 
- 
Constructor Details- 
CayenneContextFactorypublic CayenneContextFactory()
 
- 
- 
Method Details- 
createContextDescription copied from interface:ObjectContextFactoryCreates an ObjectContext attached to a default DataChannel.- Specified by:
- createContextin interface- ObjectContextFactory
 
- 
createContextDescription copied from interface:ObjectContextFactoryCreates an ObjectContext attached to a provided channel. This is often used for nested context creation.- Specified by:
- createContextin interface- ObjectContextFactory
 
- 
newInstanceprotected org.apache.cayenne.CayenneContext newInstance(DataChannel parent, boolean changeEventsEnabled, boolean lifecycleEventsEnabled)
 
-