Package build.codemodel.dependency.injection
package build.codemodel.dependency.injection
-
ClassDescriptionAn
abstractBinding.An abstractBindingBuilder.AnabstractDependency.Binding<T>Defines a mechanism to resolve aDependencyfor injection.Indicates an attempt to create anBindingwhen one with the sameDependencyalready exists.A fluent builder forBindings.Observes binding registration and dependency resolution events in anInjectionContext.ATraitonJDKCodeModelthat holds the binding graph for anInjectionContext.Describes a dependency from a registered binding to a type that is not registered as an explicit binding in the context.Classifies how aBindingproduces its value.A vertex in the Track 2 binding graph.ClassBinding<T>AnInjectionPointfor aConstructorDescriptor.Thrown when a cyclic dependency has been detected betweenClasses.AResolverthat instantiatesOptionsubclasses via theirDefault-annotated factory (no-arg constructor, static method, or static field) when no other resolver provides them.Defines aTypeUsagefor Dependency Injection with anInjector.An edge in the Track 2 binding graph.AnInjectionPointfor aFieldDescriptor.ADependencyindependently defined outside the scope of anInjectionPoint.Defines information concerning the inject-ability of aJDKTypeDescriptorwith theInjectionFramework.ARuntimeExceptionthrown when injection fails.AnInjectionExceptionthrown when injection into anInjectionPointfails.AJDKCodeModel-based Adapter allowing the runtime discovery ofInjectionPoints and JSR-330-compliant Dependency Injection ofClasses andObjectsDescribes a point with in aJDKTypeDescriptorin whichDependencys may be injected.ADependencydefined by anInjectionPoint.Resolves and injects values into fields, methods and/or constructors annotated withInject.AnInjectionPointfor aMethod.A reusable unit of binding configuration.Factory methods for composingModules.MultiBinder<T>Accumulates multiple bindings for the same type, making them injectable asSet,Collection,Iterable,Stream, orList.Marks a zero-arg method to be invoked byContext.close()when the owningContextis closed.Defines a zero-args non-static non-void method whose return value is made available for injection via aProvidesResolver.AResolverto resolve to a specific non-nullObjectif and only if a requestedDependencysatisfies anAnnotationTypeUsagePredicate.Resolver<T>A facility to resolveBindings forDependencys required for injection.Controls the lifecycle and sharing of instances produced by aBinding.Meta-annotation that marks an annotation as a scope annotation.AScopebacked by aScopedValue.Specifies that a particular system property value is required forInjection, optionally using aSystemProperty.Defaultvalue if the system property is not defined.Specifies that a default value for aSystemPropertythat may be coerced and/or used forInjection.AResolverof values forSystemPropertyannotatedInjection points, that usesSystem.getProperties()to resolve values.TypeLiteral<T>Captures a fully-parameterized genericType(e.g.Thrown when the value for aDependencycan not be resolved for injection.Thrown byContext.validate()when one or more validation problems are found.ValueBinding<T>ABindingthat produces the same non-nullvalue when requested.ACompilerthat reads theBindingGraphTraitfrom theJDKCodeModeland emits a human-readable wiring report.