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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ObjectContext
A Cayenne object facade to a persistent store.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseContext
A common base superclass for Cayenne ObjectContext implementors.
|
Modifier and Type | Field and Description |
---|---|
protected DataChannel |
BaseContext.channel |
Modifier and Type | Method and Description |
---|---|
DataChannel |
BaseContext.getChannel() |
DataChannel |
ObjectContext.getChannel()
Returns an DataChannel used by this context.
|
Modifier and Type | Method and 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
DataChannel |
ClientServerChannel.getParentChannel() |
Modifier and Type | Method and Description |
---|---|
protected void |
DataContext.attachToChannel(DataChannel channel) |
Constructor and Description |
---|
DataContext(DataChannel channel,
ObjectStore objectStore)
Creates a new DataContext with parent DataChannel and ObjectStore.
|
Modifier and Type | Method and Description |
---|---|
DataChannel |
CayenneRuntime.getChannel()
Returns the runtime
DataChannel . |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected DataChannel |
CayenneContextFactory.dataChannel |
Modifier and Type | Field and Description |
---|---|
protected Provider<DataChannel> |
LocalConnectionProvider.clientServerChannelProvider |
Modifier and Type | Method and Description |
---|---|
DataChannel |
ClientChannelProvider.get() |
DataChannel |
LocalClientServerChannelProvider.get() |
Modifier and Type | Method and Description |
---|---|
ObjectContext |
CayenneContextFactory.createContext(DataChannel parent) |
protected org.apache.cayenne.CayenneContext |
CayenneContextFactory.newInstance(DataChannel parent,
boolean changeEventsEnabled,
boolean lifecycleEventsEnabled) |
Modifier and Type | Method and Description |
---|---|
DataChannel |
DomainDataChannelProvider.get() |
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) |
Modifier and Type | Class and Description |
---|---|
class |
ClientChannel
A
DataChannel implementation that accesses a remote server
via a ClientConnection. |
Modifier and Type | Field and Description |
---|---|
protected DataChannel |
LocalConnection.channel |
Modifier and Type | Method and Description |
---|---|
DataChannel |
LocalConnection.getChannel()
Returns wrapped 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.
|
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–2019 Apache Cayenne. All rights reserved.