Uses of Interface
io.activej.inject.binding.BindingGenerator
Packages that use BindingGenerator
Package
Description
-
Uses of BindingGenerator in io.activej.inject
Methods in io.activej.inject with parameters of type BindingGeneratorModifier and TypeMethodDescriptionstatic 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. -
Uses of BindingGenerator in io.activej.inject.binding
Methods in io.activej.inject.binding that return BindingGeneratorModifier and TypeMethodDescriptionstatic BindingGenerator<?>BindingGenerators.combinedGenerator(Map<KeyPattern<?>, Set<BindingGenerator<?>>> generators) Modules export a multimap of binding generators with raw class keys.static <T> BindingGenerator<T>BindingGenerators.refusing()Default generator that never generates anything.Method parameters in io.activej.inject.binding with type arguments of type BindingGeneratorModifier and TypeMethodDescriptionstatic BindingGenerator<?>BindingGenerators.combinedGenerator(Map<KeyPattern<?>, Set<BindingGenerator<?>>> generators) Modules export a multimap of binding generators with raw class keys. -
Uses of BindingGenerator in io.activej.inject.impl
Methods in io.activej.inject.impl with parameters of type BindingGeneratorModifier and TypeMethodDescriptionPreprocessor.reduce(Trie<Scope, Map<Key<?>, Set<Binding<?>>>> bindings, Multibinder<?> multibinder, BindingTransformer<?> transformer, BindingGenerator<?> generator) This method converts a trie of binding multimaps, that is provided from the modules, into a trie of binding maps on which theInjectorwould actually operate. -
Uses of BindingGenerator in io.activej.inject.module
Methods in io.activej.inject.module that return types with arguments of type BindingGeneratorModifier and TypeMethodDescriptionfinal Map<KeyPattern<?>,Set<BindingGenerator<?>>> AbstractModule.getBindingGenerators()Map<KeyPattern<?>,Set<BindingGenerator<?>>> Module.getBindingGenerators()Map<KeyPattern<?>,Set<BindingGenerator<?>>> SimpleModule.getBindingGenerators()Methods in io.activej.inject.module with parameters of type BindingGeneratorModifier and TypeMethodDescriptionprotected final <T> voidAbstractModule.generate(KeyPattern<T> pattern, BindingGenerator<T> bindingGenerator) Adds ageneratorfor a given class to this module.protected final <T> voidAbstractModule.generate(Class<T> pattern, BindingGenerator<T> bindingGenerator) <T> ModuleBuilderModuleBuilder.generate(KeyPattern<T> pattern, BindingGenerator<T> bindingGenerator) Adds ageneratorfor a given class to this module.default <T> ModuleBuilderModuleBuilder.generate(Class<T> pattern, BindingGenerator<T> bindingGenerator) Adds ageneratorfor a given class to this module.<E> ModuleBuilderModuleBuilderImpl.generate(KeyPattern<E> pattern, BindingGenerator<E> bindingGenerator) -
Uses of BindingGenerator in io.activej.inject.util
Classes in io.activej.inject.util that implement BindingGenerator