Uses of Interface
org.apache.cayenne.di.Injector
-
Packages that use Injector 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 -
-
Uses of Injector in org.apache.cayenne
Methods in org.apache.cayenne with parameters of type Injector Modifier and Type Method Description protected void
BaseContext. attachToRuntime(Injector injector)
Attaches this context to the CayenneRuntime whose Injector is passed as an argument to this method. -
Uses of Injector in org.apache.cayenne.access
Methods in org.apache.cayenne.access with parameters of type Injector Modifier and Type Method Description protected void
DataContext. attachToRuntime(Injector injector)
-
Uses of Injector in org.apache.cayenne.configuration
Fields in org.apache.cayenne.configuration declared as Injector Modifier and Type Field Description protected Injector
CayenneRuntime. injector
Fields in org.apache.cayenne.configuration with type parameters of type Injector Modifier and Type Field Description protected static ThreadLocal<Injector>
CayenneRuntime. threadInjector
A holder of an Injector bound to the current thread.Methods in org.apache.cayenne.configuration that return Injector Modifier and Type Method Description Injector
CayenneRuntime. getInjector()
Returns DI injector used by this runtime.static Injector
CayenneRuntime. getThreadInjector()
Returns theInjector
bound to the current thread.Methods in org.apache.cayenne.configuration with parameters of type Injector Modifier and Type Method Description static void
CayenneRuntime. bindThreadInjector(Injector injector)
Binds a DIInjector
bound to the current thread. -
Uses of Injector in org.apache.cayenne.configuration.rop.client
Fields in org.apache.cayenne.configuration.rop.client declared as Injector Modifier and Type Field Description protected Injector
CayenneContextFactory. injector
protected Injector
LocalClientServerChannelProvider. serverInjector
Methods in org.apache.cayenne.configuration.rop.client with parameters of type Injector Modifier and Type Method Description ClientRuntimeBuilder
ClientRuntimeBuilder. local(Injector serverInjector)
CreateClientRuntime
that provides an ROP stack based on a local connection on top of a server stack.Constructors in org.apache.cayenne.configuration.rop.client with parameters of type Injector Constructor Description LocalClientServerChannelProvider(Injector serverInjector)
-
Uses of Injector in org.apache.cayenne.configuration.server
Fields in org.apache.cayenne.configuration.server declared as Injector Modifier and Type Field Description protected Injector
DataDomainProvider. injector
protected Injector
DefaultDbAdapterFactory. injector
-
Uses of Injector in org.apache.cayenne.di
Methods in org.apache.cayenne.di that return Injector Modifier and Type Method 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. -
Uses of Injector in org.apache.cayenne.di.spi
Classes in org.apache.cayenne.di.spi that implement Injector Modifier and Type Class Description class
DefaultInjector
A default Cayenne implementations of a DI injector.Fields in org.apache.cayenne.di.spi declared as Injector Modifier and Type Field Description protected Injector
DefaultAdhocObjectFactory. injector
Constructors in org.apache.cayenne.di.spi with parameters of type Injector Constructor Description DefaultAdhocObjectFactory(Injector injector, ClassLoaderManager classLoaderManager)
-