| 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.di | |
| org.apache.cayenne.di.spi |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseContext.attachToRuntime(Injector injector)
Attaches this context to the CayenneRuntime whose Injector is passed as
an argument to this method.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DataContext.attachToRuntime(Injector injector) |
| Modifier and Type | Field and Description |
|---|---|
protected Injector |
CayenneRuntime.injector |
| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<Injector> |
CayenneRuntime.threadInjector
A holder of an Injector bound to the current thread.
|
| Modifier and Type | Method and Description |
|---|---|
Injector |
CayenneRuntime.getInjector()
Returns DI injector used by this runtime.
|
static Injector |
CayenneRuntime.getThreadInjector()
Returns the
Injector bound to the current thread. |
| Modifier and Type | Method and Description |
|---|---|
static void |
CayenneRuntime.bindThreadInjector(Injector injector)
Binds a DI
Injector bound to the current thread. |
| Modifier and Type | Field and Description |
|---|---|
protected Injector |
CayenneContextFactory.injector |
protected Injector |
LocalClientServerChannelProvider.serverInjector |
| Modifier and Type | Method and Description |
|---|---|
ClientRuntimeBuilder |
ClientRuntimeBuilder.local(Injector serverInjector)
Create
ClientRuntime that provides an ROP stack based on a local
connection on top of a server stack. |
| Constructor and Description |
|---|
ClientLocalRuntime(Injector serverInjector,
Map<String,String> properties,
Collection<Module> extraModules)
Deprecated.
|
ClientLocalRuntime(Injector serverInjector,
Map<String,String> properties,
Module... extraModules)
Deprecated.
|
LocalClientServerChannelProvider(Injector serverInjector) |
| Modifier and Type | Field and Description |
|---|---|
protected Injector |
DataDomainProvider.injector |
protected Injector |
DefaultDbAdapterFactory.injector |
| Modifier and Type | Method and Description |
|---|---|
static Injector |
DIBootstrap.createInjector(Collection<Module> modules)
Creates and returns an injector instance working with the set of provided modules.
|
static Injector |
DIBootstrap.createInjector(Module... modules)
Creates and returns an injector instance working with the set of provided modules.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultInjector
A default Cayenne implementations of a DI injector.
|
| Modifier and Type | Field and Description |
|---|---|
protected Injector |
DefaultAdhocObjectFactory.injector |
| Constructor and Description |
|---|
DefaultAdhocObjectFactory(Injector injector,
ClassLoaderManager classLoaderManager) |
Copyright © 2001–2023 Apache Cayenne. All rights reserved.