## 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.tx |
  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 and Description
    --- | ---
    `interface` | `ObjectContext` A Cayenne object facade to a persistent store.

    Classes in org.apache.cayenne that implement DataChannel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BaseContext` A common base superclass for Cayenne ObjectContext implementors.
    `class` | `CayenneContext` A default generic implementation of ObjectContext suitable for accessing Cayenne from either an ORM or a client tiers.

    Fields in org.apache.cayenne declared as DataChannel
    Modifier and Type | Field and Description
    --- | ---
    `protected DataChannel` | BaseContext.`channel`

    Methods in org.apache.cayenne that return DataChannel
    Modifier and Type | Method and 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 and Description
    --- | ---
    `protected void` | BaseContext.`attachToChannel(DataChannel channel)` Attaches to a provided DataChannel.
    `protected void` | CayenneContext.`attachToChannel(DataChannel channel)`
    `void` | DataChannelFilter.`init(DataChannel channel)`
    `void` | BaseContext.`setChannel(DataChannel channel)` Sets a new DataChannel for this context.

    Constructors in org.apache.cayenne with parameters of type DataChannel
    Constructor and Description
    `CayenneContext(DataChannel channel)` Creates a new CayenneContext, initializing it with a channel instance.
    `CayenneContext(DataChannel channel, boolean changeEventsEnabled, boolean lifecyleEventsEnabled)` Creates a new CayenneContext, initializing it with a channel.

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

    Classes in org.apache.cayenne.access that implement DataChannel
    Modifier and Type | Class and 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 and Description
    --- | ---
    `DataChannel` | ClientServerChannel.`getParentChannel()`

    Methods in org.apache.cayenne.access with parameters of type DataChannel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | DataContext.`attachToChannel(DataChannel channel)`

    Constructors in org.apache.cayenne.access with parameters of type DataChannel
    Constructor and 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 and Description
    --- | ---
    `DataChannel` | CayenneRuntime.`getChannel()` Returns the runtime `DataChannel`.

    Methods in org.apache.cayenne.configuration with parameters of type DataChannel
    Modifier and Type | Method and Description
    --- | ---
    `ObjectContext` | ObjectContextFactory.`createContext(DataChannel parent)` Creates an ObjectContext attached to a provided channel.
    `ObjectContext` | CayenneRuntime.`getContext(DataChannel parentChannel)` Deprecated. since 3.1 use better named `CayenneRuntime.newContext(DataChannel)` instead.
    `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 and Description
    --- | ---
    `protected DataChannel` | CayenneContextFactory.`dataChannel`

    Fields in org.apache.cayenne.configuration.rop.client with type parameters of type DataChannel
    Modifier and Type | Field and Description
    --- | ---
    `protected Provider<DataChannel>` | LocalConnectionProvider.`clientServerChannelProvider`

    Methods in org.apache.cayenne.configuration.rop.client that return DataChannel
    Modifier and Type | Method and Description
    --- | ---
    `DataChannel` | ClientChannelProvider.`get()`
    `DataChannel` | LocalClientServerChannelProvider.`get()`

    Methods in org.apache.cayenne.configuration.rop.client with parameters of type DataChannel
    Modifier and Type | Method and Description
    --- | ---
    `ObjectContext` | CayenneContextFactory.`createContext(DataChannel parent)`
    `protected 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 and Description
    --- | ---
    `DataChannel` | DomainDataChannelProvider.`get()`

    Methods in org.apache.cayenne.configuration.server with parameters of type DataChannel
    Modifier and Type | Method and 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 and 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 and Description
    --- | ---
    `protected DataChannel` | LocalConnection.`channel`
    `protected DataChannel` | ServerSession.`channel`

    Methods in org.apache.cayenne.remote.service that return DataChannel
    Modifier and Type | Method and Description
    --- | ---
    `protected DataChannel` | BaseRemoteService.`createChannel()` Creates a server-side channel that will handle all client requests.
    `DataChannel` | LocalConnection.`getChannel()` Returns wrapped DataChannel.
    `DataChannel` | ServerSession.`getChannel()`
    `protected DataChannel` | HttpRemoteService.`getSharedChannel(String name)`

    Methods in org.apache.cayenne.remote.service with parameters of type DataChannel
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | HttpRemoteService.`saveSharedChannel(String name, DataChannel channel)`

    Constructors in org.apache.cayenne.remote.service with parameters of type DataChannel
    Constructor and 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.
    `ServerSession(RemoteSession session, DataChannel channel)`

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

    Methods in org.apache.cayenne.tx with parameters of type DataChannel
    Modifier and Type | Method and Description
    --- | ---
    `void` | TransactionFilter.`init(DataChannel channel)`

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

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

Copyright © 2001–2018 Apache Cayenne. All rights reserved.