Uses of Interface
org.apache.cayenne.di.Injector
Package
Description
Contains persistence APIs directly accessible by users.
Contains classes that make up Cayenne ORM stack.
-
Uses of Injector in org.apache.cayenne
Modifier and TypeMethodDescriptionprotected 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
-
Uses of Injector in org.apache.cayenne.configuration
Modifier and TypeFieldDescriptionprotected static final ThreadLocal
<Injector> CayenneRuntime.threadInjector
A holder of an Injector bound to the current thread.Modifier and TypeMethodDescriptionCayenneRuntime.getInjector()
Returns DI injector used by this runtime.static Injector
CayenneRuntime.getThreadInjector()
Returns theInjector
bound to the current thread.Modifier and TypeMethodDescriptionstatic void
CayenneRuntime.bindThreadInjector
(Injector injector) Binds a DIInjector
bound to the current thread. -
Uses of Injector in org.apache.cayenne.configuration.rop.client
Modifier and TypeFieldDescriptionprotected Injector
CayenneContextFactory.injector
protected Injector
LocalClientServerChannelProvider.serverInjector
Modifier and TypeMethodDescriptionCreateClientRuntime
that provides an ROP stack based on a local connection on top of a server stack. -
Uses of Injector in org.apache.cayenne.configuration.server
-
Uses of Injector in org.apache.cayenne.di
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeClassDescriptionclass
A default Cayenne implementations of a DI injector.ModifierConstructorDescriptionDefaultAdhocObjectFactory
(Injector injector, ClassLoaderManager classLoaderManager)