org.apache.cayenne.access
Interface DataContextFactory
public interface DataContextFactory
An interface for creating DataContexts.
- Since:
- 1.2
- Author:
- Mike Kienenberger
createDataContext
DataContext createDataContext(DataChannel parent,
ObjectStore objectStore)
- Creates a DataContext with parent QueryEngine and a DataRowStore that should be
used by the ObjectStore.
- Parameters:
parent
- parent QueryEngine used to communicate with the data source.objectStore
- ObjectStore used by DataContext.- Since:
- 1.2
Copyright © 2001-2006 Apache.org All Rights Reserved.