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

    public interface ObjectContextFactory

Defines a factory interface for creating object contexts.

Since:
  3.0
Author:
  Andrus Adamchik

Method Summary
`ObjectContext` | `createObjectContext(DataChannel parent, Map properties)` Creates an instance of ObjectContext accessing the database via the provided DataChannel.
`ObjectContext` | `createObjectContext(Map properties)` Creates an instance of ObjectContext accessing the database via the default DataChannel.

Method Detail

### createObjectContext

    ObjectContext createObjectContext(Map properties)

  Creates an instance of ObjectContext accessing the database via the default DataChannel.

### createObjectContext

    ObjectContext createObjectContext(DataChannel parent,
                                      Map properties)

  Creates an instance of ObjectContext accessing the database via the provided DataChannel.

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-2007 Apache Cayenne. All Rights Reserved.