Class DataContextFactory
java.lang.Object
org.apache.cayenne.configuration.server.DataContextFactory
- All Implemented Interfaces:
- ObjectContextFactory
public class DataContextFactory extends Object implements ObjectContextFactory
- Since:
- 3.1
- 
Field SummaryFields Modifier and Type Field Description protected DataDomaindataDomainprotected DataRowStoreFactorydataRowStoreFactoryprotected EventManagereventManagerprotected ObjectStoreFactoryobjectStoreFactoryprotected QueryCachequeryCacheprotected TransactionFactorytransactionFactory
- 
Constructor SummaryConstructors Constructor Description DataContextFactory()
- 
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 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- 
DataContextFactorypublic DataContextFactory()
 
- 
- 
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
 
- 
createFromGenericChannel
- 
createFromDataContext
- 
createdFromDataDomain
- 
newInstance
 
-