Package org.apache.cayenne.configuration
Interface ObjectContextFactory
- All Known Implementing Classes:
- CayenneContextFactory,- DataContextFactory
public interface ObjectContextFactory
A factory for regular and nested contexts.
- Since:
- 3.1
- 
Method SummaryModifier and TypeMethodDescriptionCreates an ObjectContext attached to a default DataChannel.createContext(DataChannel parent) Creates an ObjectContext attached to a provided channel.
- 
Method Details- 
createContextObjectContext createContext()Creates an ObjectContext attached to a default DataChannel.
- 
createContextCreates an ObjectContext attached to a provided channel. This is often used for nested context creation.
 
-