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.configuration
Interface ObjectContextFactory

All Known Implementing Classes:
  CayenneContextFactory, DataContextFactory

    public interface ObjectContextFactory

A factory for regular and nested contexts.

Since:
  3.1

Method Summary
`ObjectContext` | `createContext()` Creates an ObjectContext attached to a default DataChannel.
`ObjectContext` | `createContext(DataChannel parent)` Creates an ObjectContext attached to a provided channel.

Method Detail

### createContext

    ObjectContext createContext()

  Creates an ObjectContext attached to a default DataChannel.

### createContext

    ObjectContext createContext(DataChannel parent)

  Creates an ObjectContext attached to a provided channel. This is often used for nested context creation.

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–2014 Apache Cayenne. All rights reserved.