Class DataContextFactory
java.lang.Object
org.apache.cayenne.configuration.server.DataContextFactory
- All Implemented Interfaces:
ObjectContextFactory
- Since:
- 3.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DataDomainprotected DataRowStoreFactoryprotected EventManagerprotected ObjectStoreFactoryprotected QueryCacheprotected TransactionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates an ObjectContext attached to a default DataChannel.createContext(DataChannel parent) Creates an ObjectContext attached to a provided channel.protected ObjectContextcreatedFromDataDomain(DataDomain parent) protected ObjectContextcreateFromDataContext(DataContext parent) protected ObjectContextcreateFromGenericChannel(DataChannel parent) protected DataContextnewInstance(DataChannel parent, ObjectStore objectStore)
-
Field Details
-
dataDomain
-
eventManager
-
dataRowStoreFactory
-
objectStoreFactory
-
queryCache
-
transactionFactory
-
-
Constructor Details
-
DataContextFactory
public DataContextFactory()
-
-
Method Details
-
createContext
Description copied from interface:ObjectContextFactoryCreates an ObjectContext attached to a default DataChannel.- Specified by:
createContextin interfaceObjectContextFactory
-
createContext
Description copied from interface:ObjectContextFactoryCreates an ObjectContext attached to a provided channel. This is often used for nested context creation.- Specified by:
createContextin interfaceObjectContextFactory
-
createFromGenericChannel
-
createFromDataContext
-
createdFromDataDomain
-
newInstance
-