Uses of Interface
com.google.inject.spi.Element
-
Packages that use Element Package Description com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.com.google.inject.multibindings Extension for binding multiple instances in a collection; this extension requiresguice-multibindings.jar.com.google.inject.spi Guice service provider interface -
-
Uses of Element in com.google.inject
Subinterfaces of Element in com.google.inject Modifier and Type Interface Description interfaceBinding<T>A mapping from aKeyto the strategy for getting instances of the type.Methods in com.google.inject that return types with arguments of type Element Modifier and Type Method Description List<Element>Injector. getElements()Returns the elements that make up this injector. -
Uses of Element in com.google.inject.multibindings
Methods in com.google.inject.multibindings with parameters of type Element Modifier and Type Method Description booleanMapBinderBinding. containsElement(Element element)Returns true if this MapBinder contains the given Element in order to build the map or uses the given Element in order to support building and injecting the map.booleanMultibinderBinding. containsElement(Element element)Returns true if this Multibinder uses the given Element.booleanOptionalBinderBinding. containsElement(Element element)Returns true if this OptionalBinder contains the given Element in order to build the optional binding or uses the given Element in order to support building and injecting its data.Method parameters in com.google.inject.multibindings with type arguments of type Element Modifier and Type Method Description List<Map.Entry<?,Binding<?>>>MapBinderBinding. getEntries(Iterable<? extends Element> elements)Similar toMapBinderBinding.getEntries(), but can be used on a MapBinderBinding retrieved fromElements.getElements(com.google.inject.Module...). -
Uses of Element in com.google.inject.spi
Subinterfaces of Element in com.google.inject.spi Modifier and Type Interface Description interfaceConstructorBinding<T>A binding to the constructor of a concrete clss.interfaceConvertedConstantBinding<T>A binding created from converting a bound instance to a new type.interfaceExposedBinding<T>A binding to a key exposed from an enclosed private environment.interfaceInstanceBinding<T>A binding to a single instance.interfaceLinkedKeyBinding<T>A binding to a linked key.interfacePrivateElementsA private collection of elements that are hidden from the enclosing injector or module by default.interfaceProviderBinding<T extends Provider<?>>A binding to aProviderthat delegates to the binding for the provided type.interfaceProviderInstanceBinding<T>A binding to a provider instance.interfaceProviderKeyBinding<T>A binding to a provider key.interfaceUntargettedBinding<T>An untargetted binding.Classes in com.google.inject.spi that implement Element Modifier and Type Class Description classDisableCircularProxiesOptionA request to disable circular proxies.classInjectionRequest<T>A request to inject the instance fields and methods of an instance.classInterceptorBindingRegistration of interceptors for matching methods of matching classes.classMembersInjectorLookup<T>A lookup of the members injector for a type.classMessageAn error message and the context in which it occured.classModuleAnnotatedMethodScannerBindingRepresents a call toBinder.scanModulesForAnnotatedMethods(com.google.inject.spi.ModuleAnnotatedMethodScanner)in a module.classProviderLookup<T>A lookup of the provider for a type.classProvisionListenerBindingBinds keys (picked using a Matcher) to a provision listener.classRequireAtInjectOnConstructorsOptionA request to require explicit @Injectannotations on constructors.classRequireExactBindingAnnotationsOptionA request to require exact binding annotations.classRequireExplicitBindingsOptionA request to require explicit bindings.classScopeBindingRegistration of a scope annotation with the scope that implements it.classStaticInjectionRequestA request to inject the static fields and methods of a type.classTypeConverterBindingRegistration of type converters for matching target types.classTypeListenerBindingBinds types (picked using a Matcher) to an type listener.Methods in com.google.inject.spi that return types with arguments of type Element Modifier and Type Method Description static List<Element>Elements. getElements(Module... modules)Records the elements executed bymodules.static List<Element>Elements. getElements(Stage stage, Module... modules)Records the elements executed bymodules.static List<Element>Elements. getElements(Stage stage, Iterable<? extends Module> modules)Records the elements executed bymodules.static List<Element>Elements. getElements(Iterable<? extends Module> modules)Records the elements executed bymodules.List<Element>PrivateElements. getElements()Returns the configuration information in this private environment.Methods in com.google.inject.spi with parameters of type Element Modifier and Type Method Description protected VDefaultElementVisitor. visitOther(Element element)Default visit implementation.Method parameters in com.google.inject.spi with type arguments of type Element Modifier and Type Method Description static ImmutableList<Message>BindingSourceRestriction. check(com.google.inject.internal.GuiceInternal guiceInternal, List<Element> elements)Returns all the restriction violations found on the given Module Elements, as error messages.static ModuleElements. getModule(Iterable<? extends Element> elements)Returns the module composed ofelements.
-