Uses of Interface
io.activej.inject.module.Module
Packages that use Module
-
Uses of Module in io.activej.inject
Methods in io.activej.inject with parameters of type ModuleModifier and TypeMethodDescriptionstatic InjectorThis constructor threadsafelycompilesgiven module, extracting bindings and their multibinders, transformers and generators from it, with no instance overridesstatic Injectorstatic InjectorThis constructor combines given modules and thencompilesthem. -
Uses of Module in io.activej.inject.module
Classes in io.activej.inject.module that implement ModuleModifier and TypeClassDescriptionclassThis class is an abstract module wrapper aroundModuleBuilder.final classMethods in io.activej.inject.module that return ModuleModifier and TypeMethodDescriptionModuleBuilder.build()ModuleBuilderImpl.build()static ModuleCombines multiple modules into one.static ModuleModules.combine(Collection<Module> modules) Combines multiple modules into one.AbstractModule.combineWith(Module another) default ModuleModule.combineWith(Module another) static ModuleModule.empty()Returns an emptymodule.static ModuleModules.ignoreScopes(Module from) Creates a module with all trie nodes merged into one and placed at root.static ModuleCreates amoduleout of given binding graph triestatic ModuleModule.of(Trie<Scope, Map<Key<?>, Set<Binding<?>>>> bindings, Map<KeyPattern<?>, Set<BindingTransformer<?>>> transformers, Map<KeyPattern<?>, Set<BindingGenerator<?>>> generators, Map<Key<?>, Multibinder<?>> multibinders) Creates amoduleout of given binding graph trie, transformers, generators and multibindersstatic ModuleConsecutively overrides each of the given modules with the next one after it and returns the accumulated result.static ModuleThis method creates a module that has bindings, transformers, generators and multibinders from first module replaced with bindings, transformers, generators and multibinders from the second module.static ModuleConsecutively overrides each of the given modules with the next one after it and returns the accumulated result.AbstractModule.overrideWith(Module another) default ModuleModule.overrideWith(Module another) static ModuleModules.remap(Module module, BiFunction<Scope[], Key<?>, Key<?>> exportsMapping, BiFunction<Scope[], Key<?>, Key<?>> importsMapping) static ModuleModules.remap(Module module, UnaryOperator<Key<?>> remapping) static Modulestatic Modulestatic ModuleModules.restrict(Module module, BiPredicate<Scope[], Key<?>> exportsPredicate) static Modulestatic ModuleAbstractModule.transformWith(UnaryOperator<Module> fn) default ModuleModule.transformWith(UnaryOperator<Module> fn) Methods in io.activej.inject.module with parameters of type ModuleModifier and TypeMethodDescriptionstatic ModuleCombines multiple modules into one.AbstractModule.combineWith(Module another) default ModuleModule.combineWith(Module another) static ModuleModules.ignoreScopes(Module from) Creates a module with all trie nodes merged into one and placed at root.protected final voidAdds all bindings, transformers, generators and multibinders from given modules to this one.default ModuleBuilderAdds all bindings, transformers, generators and multibinders from given modules to this one.static ModuleConsecutively overrides each of the given modules with the next one after it and returns the accumulated result.static ModuleThis method creates a module that has bindings, transformers, generators and multibinders from first module replaced with bindings, transformers, generators and multibinders from the second module.AbstractModule.overrideWith(Module another) default ModuleModule.overrideWith(Module another) static ModuleModules.remap(Module module, BiFunction<Scope[], Key<?>, Key<?>> exportsMapping, BiFunction<Scope[], Key<?>, Key<?>> importsMapping) static ModuleModules.remap(Module module, UnaryOperator<Key<?>> remapping) static Modulestatic Modulestatic ModuleModules.restrict(Module module, BiPredicate<Scope[], Key<?>> exportsPredicate) static Modulestatic ModuleMethod parameters in io.activej.inject.module with type arguments of type ModuleModifier and TypeMethodDescriptionstatic ModuleModules.combine(Collection<Module> modules) Combines multiple modules into one.ModuleBuilder.install(Collection<Module> modules) Adds all bindings, transformers, generators and multibinders from given modules to this one.ModuleBuilderImpl.install(Collection<Module> modules) static ModuleConsecutively overrides each of the given modules with the next one after it and returns the accumulated result.AbstractModule.transformWith(UnaryOperator<Module> fn) default ModuleModule.transformWith(UnaryOperator<Module> fn) -
Uses of Module in io.activej.inject.util
Methods in io.activej.inject.util that return ModuleModifier and TypeMethodDescriptionstatic Modulestatic ModuleReflectionUtils.scanClassInto(Class<?> moduleClass, @Nullable Object module, ModuleBuilder builder) Methods in io.activej.inject.util that return types with arguments of type Module