Uses of Class
io.activej.inject.Injector
Packages that use Injector
-
Uses of Injector in io.activej.inject
Methods in io.activej.inject that return InjectorModifier and TypeMethodDescriptionstatic InjectorThis constructor threadsafelycompilesgiven module, extracting bindings and their multibinders, transformers and generators from it, with no instance overridesstatic InjectorInjector.compile(@Nullable Injector parent, Scope[] scope, Trie<Scope, Map<Key<?>, Set<Binding<?>>>> bindingsMultimap, Multibinder<?> multibinder, BindingTransformer<?> transformer, BindingGenerator<?> generator) The most full-fledged compile method that allows you to create an Injector of any configuration.Injector.enterScope(Scope scope) Creates an injector that operates on a binding graph at a given prefix (scope) of the binding graph trie and this injector as its parent.@Nullable InjectorInjector.getParent()static Injectorstatic InjectorThis constructor combines given modules and thencompilesthem.static InjectorThis constructor is a shortcut for threadsafecompilewith no instance overrides and no multibinders, transformers or generators.Methods in io.activej.inject with parameters of type InjectorModifier and TypeMethodDescriptionstatic InjectorThis constructor threadsafelycompilesgiven module, extracting bindings and their multibinders, transformers and generators from it, with no instance overridesstatic InjectorInjector.compile(@Nullable Injector parent, Scope[] scope, Trie<Scope, Map<Key<?>, Set<Binding<?>>>> bindingsMultimap, Multibinder<?> multibinder, BindingTransformer<?> transformer, BindingGenerator<?> generator) The most full-fledged compile method that allows you to create an Injector of any configuration.static Injector