Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.access
Interface DataContextFactory

    public interface DataContextFactory

An interface for creating DataContexts.

Since:
  1.2

Method Summary
`DataContext` | `createDataContext(DataChannel parent, ObjectStore objectStore)` Creates a DataContext with parent QueryEngine and a DataRowStore that should be used by the ObjectStore.

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.