Uses of Interface
org.apache.cayenne.di.Injector
Packages that use 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
Methods in org.apache.cayenne with parameters of type InjectorModifier and TypeMethodDescriptionprotected voidBaseContext.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 -
Uses of Injector in org.apache.cayenne.configuration
Fields in org.apache.cayenne.configuration declared as InjectorFields in org.apache.cayenne.configuration with type parameters of type InjectorModifier and TypeFieldDescriptionprotected static final ThreadLocal<Injector> CayenneRuntime.threadInjectorA holder of an Injector bound to the current thread.Methods in org.apache.cayenne.configuration that return InjectorModifier and TypeMethodDescriptionCayenneRuntime.getInjector()Returns DI injector used by this runtime.static InjectorCayenneRuntime.getThreadInjector()Returns theInjectorbound to the current thread.Methods in org.apache.cayenne.configuration with parameters of type InjectorModifier and TypeMethodDescriptionstatic voidCayenneRuntime.bindThreadInjector(Injector injector) Binds a DIInjectorbound to the current thread. -
Uses of Injector in org.apache.cayenne.configuration.rop.client
Fields in org.apache.cayenne.configuration.rop.client declared as InjectorModifier and TypeFieldDescriptionprotected InjectorCayenneContextFactory.injectorprotected InjectorLocalClientServerChannelProvider.serverInjectorMethods in org.apache.cayenne.configuration.rop.client with parameters of type InjectorModifier and TypeMethodDescriptionCreateClientRuntimethat 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 -
Uses of Injector in org.apache.cayenne.configuration.server
Fields in org.apache.cayenne.configuration.server declared as Injector -
Uses of Injector in org.apache.cayenne.di
Methods in org.apache.cayenne.di that return InjectorModifier and TypeMethodDescriptionstatic InjectorDIBootstrap.createInjector(Collection<Module> modules) Creates and returns an injector instance working with the set of provided modules.static InjectorDIBootstrap.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 TypeClassDescriptionclassA 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)