# Uses of Interface
org.apache.cayenne.DataChannel

Packages that use DataChannel
Package
Description
org.apache.cayenne
Contains persistence APIs directly accessible by users.
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.configuration
org.apache.cayenne.configuration.rop.client
org.apache.cayenne.configuration.server
org.apache.cayenne.remote
Contains classes an interfaces related to Cayenne remote object persistence features.
org.apache.cayenne.remote.service
org.apache.cayenne.util
General utility classes.

- ## Uses of DataChannel in org.apache.cayenne

  Subinterfaces of DataChannel in org.apache.cayenne
  Modifier and Type
  Interface
  Description
  `interface`
  `ObjectContext`
  A Cayenne object facade to a persistent store.
  Classes in org.apache.cayenne that implement DataChannel
  Modifier and Type
  Class
  Description
  `class`
  `BaseContext`
  A common base superclass for Cayenne ObjectContext implementors.
  Fields in org.apache.cayenne declared as DataChannel
  Modifier and Type
  Field
  Description
  `protected DataChannel`
  BaseContext.`channel`
  Methods in org.apache.cayenne that return DataChannel
  Modifier and Type
  Method
  Description
  `DataChannel`
  BaseContext.`getChannel()`
  `DataChannel`
  ObjectContext.`getChannel()`
  Returns an DataChannel used by this context.
  Methods in org.apache.cayenne with parameters of type DataChannel
  Modifier and Type
  Method
  Description
  `protected void`
  BaseContext.`attachToChannel(DataChannel channel)`
  Attaches to a provided DataChannel.
  `void`
  DataChannelFilter.`init(DataChannel channel)`
  Deprecated.
  `void`
  BaseContext.`setChannel(DataChannel channel)`
  Sets a new DataChannel for this context.

- ## Uses of DataChannel in org.apache.cayenne.access

  Classes in org.apache.cayenne.access that implement DataChannel
  Modifier and Type
  Class
  Description
  `class`
  `ClientServerChannel`
  A DataChannel that provides a server-side end of the bridge between client and server objects in a Remote Object Persistence stack.
  `class`
  `DataContext`
  The most common implementation of `ObjectContext`.
  `class`
  `DataDomain`
  DataDomain performs query routing functions in Cayenne.
  Methods in org.apache.cayenne.access that return DataChannel
  Modifier and Type
  Method
  Description
  `DataChannel`
  ClientServerChannel.`getParentChannel()`
  Methods in org.apache.cayenne.access with parameters of type DataChannel
  Modifier and Type
  Method
  Description
  `protected void`
  DataContext.`attachToChannel(DataChannel channel)`
  Constructors in org.apache.cayenne.access with parameters of type DataChannel
  Modifier
  Constructor
  Description
  ``
  `DataContext(DataChannel channel, ObjectStore objectStore)`
  Creates a new DataContext with parent DataChannel and ObjectStore.

- ## Uses of DataChannel in org.apache.cayenne.configuration

  Methods in org.apache.cayenne.configuration that return DataChannel
  Modifier and Type
  Method
  Description
  `DataChannel`
  CayenneRuntime.`getChannel()`
  Returns the runtime `DataChannel`.
  Methods in org.apache.cayenne.configuration with parameters of type DataChannel
  Modifier and Type
  Method
  Description
  `ObjectContext`
  ObjectContextFactory.`createContext(DataChannel parent)`
  Creates an ObjectContext attached to a provided channel.
  `ObjectContext`
  CayenneRuntime.`newContext(DataChannel parentChannel)`
  Returns a new ObjectContext which is a child of the specified DataChannel.

- ## Uses of DataChannel in org.apache.cayenne.configuration.rop.client

  Fields in org.apache.cayenne.configuration.rop.client declared as DataChannel
  Modifier and Type
  Field
  Description
  `protected DataChannel`
  CayenneContextFactory.`dataChannel`
  Fields in org.apache.cayenne.configuration.rop.client with type parameters of type DataChannel
  Modifier and Type
  Field
  Description
  `protected Provider<DataChannel>`
  LocalConnectionProvider.`clientServerChannelProvider`
  Methods in org.apache.cayenne.configuration.rop.client that return DataChannel
  Modifier and Type
  Method
  Description
  `DataChannel`
  ClientChannelProvider.`get()`
  `DataChannel`
  LocalClientServerChannelProvider.`get()`
  Methods in org.apache.cayenne.configuration.rop.client with parameters of type DataChannel
  Modifier and Type
  Method
  Description
  `ObjectContext`
  CayenneContextFactory.`createContext(DataChannel parent)`
  `protected org.apache.cayenne.CayenneContext`
  CayenneContextFactory.`newInstance(DataChannel parent, boolean changeEventsEnabled, boolean lifecycleEventsEnabled)`

- ## Uses of DataChannel in org.apache.cayenne.configuration.server

  Methods in org.apache.cayenne.configuration.server that return DataChannel
  Modifier and Type
  Method
  Description
  `DataChannel`
  DomainDataChannelProvider.`get()`
  Methods in org.apache.cayenne.configuration.server with parameters of type DataChannel
  Modifier and Type
  Method
  Description
  `ObjectContext`
  DataContextFactory.`createContext(DataChannel parent)`
  `protected ObjectContext`
  DataContextFactory.`createFromGenericChannel(DataChannel parent)`
  `protected DataContext`
  DataContextFactory.`newInstance(DataChannel parent, ObjectStore objectStore)`

- ## Uses of DataChannel in org.apache.cayenne.remote

  Classes in org.apache.cayenne.remote that implement DataChannel
  Modifier and Type
  Class
  Description
  `class`
  `ClientChannel`
  A `DataChannel` implementation that accesses a remote server via a ClientConnection.

- ## Uses of DataChannel in org.apache.cayenne.remote.service

  Fields in org.apache.cayenne.remote.service declared as DataChannel
  Modifier and Type
  Field
  Description
  `protected DataChannel`
  LocalConnection.`channel`
  Methods in org.apache.cayenne.remote.service that return DataChannel
  Modifier and Type
  Method
  Description
  `DataChannel`
  LocalConnection.`getChannel()`
  Returns wrapped DataChannel.
  Constructors in org.apache.cayenne.remote.service with parameters of type DataChannel
  Modifier
  Constructor
  Description
  ``
  `LocalConnection(DataChannel handler)`
  Creates LocalConnector with specified handler and no serialization.
  ``
  `LocalConnection(DataChannel handler, int serializationPolicy)`
  Creates a LocalConnector with specified handler and serialization policy.

- ## Uses of DataChannel in org.apache.cayenne.util

  Methods in org.apache.cayenne.util with parameters of type DataChannel
  Modifier and Type
  Method
  Description
  `static boolean`
  EventUtil.`listenForChannelEvents(DataChannel channel, DataChannelListener listener)`
  Utility method that sets up a GraphChangeListener to be notified when DataChannel posts an event.