Uses of Interface
org.apache.cayenne.di.Injector
Packages that use Injector
Package
Description
Contains classes that make up Cayenne ORM stack.
API related to
CayenneRuntime
creation.-
Uses of Injector in org.apache.cayenne.access
Methods in org.apache.cayenne.access with parameters of type InjectorModifier and TypeMethodDescriptionprotected void
DataContext.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.configuration.runtime
Fields in org.apache.cayenne.configuration.runtime declared as Injector -
Uses of Injector in org.apache.cayenne.di
Methods in org.apache.cayenne.di that return InjectorModifier 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
Classes in org.apache.cayenne.di.spi that implement InjectorModifier and TypeClassDescriptionclass
A default Cayenne implementations of a DI injector.Fields in org.apache.cayenne.di.spi declared as InjectorConstructors in org.apache.cayenne.di.spi with parameters of type InjectorModifierConstructorDescriptionDefaultAdhocObjectFactory
(Injector injector, ClassLoaderManager classLoaderManager) -
Uses of Injector in org.apache.cayenne.runtime
Fields in org.apache.cayenne.runtime declared as InjectorFields in org.apache.cayenne.runtime with type parameters of type InjectorModifier and TypeFieldDescriptionprotected static final ThreadLocal
<Injector> CayenneRuntime.threadInjector
A holder of an Injector bound to the current thread.Methods in org.apache.cayenne.runtime that return InjectorModifier and TypeMethodDescriptionCayenneRuntime.getInjector()
Returns DI injector used by this runtime.static Injector
CayenneRuntime.getThreadInjector()
Returns theInjector
bound to the current thread.Methods in org.apache.cayenne.runtime with parameters of type InjectorModifier and TypeMethodDescriptionstatic void
CayenneRuntime.bindThreadInjector
(Injector injector) Binds a DIInjector
bound to the current thread.