Index
All Classes and Interfaces|All Packages|Serialized Form
A
- annotation() - Method in interface be.imgn.inject.context.MethodInvocation
-
Returns the annotation that pulled this interceptor into the chain, with its compile-time member values.
- annotation() - Method in class be.imgn.inject.Key
-
Returns the qualifier annotation instance, or
nullfor a marker or unqualified key. - annotationMetadata() - Method in interface be.imgn.inject.context.BeanDefinition
-
Returns the framework annotations declared on the bean itself.
- annotationMetadata() - Method in record class be.imgn.inject.context.ConstructorInjectionPoint
-
Returns the value of the
annotationMetadatarecord component. - annotationMetadata() - Method in class be.imgn.inject.context.Factory
-
Returns the framework annotations declared on the bean itself; none by default.
- annotationMetadata() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns the value of the
annotationMetadatarecord component. - annotationMetadata() - Method in interface be.imgn.inject.context.InjectionPoint
-
Returns the annotations present at this injection point.
- annotationMetadata() - Method in record class be.imgn.inject.context.MethodInjectionPoint
-
Returns the value of the
annotationMetadatarecord component. - annotationMetadata() - Method in record class be.imgn.inject.context.Parameter
-
Returns the value of the
annotationMetadatarecord component. - AnnotationMetadata - Class in be.imgn.inject.context
-
The framework-related annotations captured at an injection point or provision definition: every annotation whose type carries
InjectingAnnotation,QualifyingAnnotation, orScopingAnnotation. - annotationType() - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the annotation type.
- annotationType() - Method in interface be.imgn.inject.context.Condition
-
Returns the conditioning annotation this condition handles.
- annotationType() - Method in class be.imgn.inject.context.OnPropertyCondition
- annotationType() - Method in interface be.imgn.inject.context.Scope
-
Returns the scoping annotation this scope handles.
- annotationType() - Method in class be.imgn.inject.context.SingletonScope
- annotationType() - Method in class be.imgn.inject.Key
-
Returns the qualifier annotation type, or
nullif unqualified. - AnnotationValue - Class in be.imgn.inject.context
-
One annotation captured at compile time: its type, its member values, and the framework stereotypes it carries.
- arguments() - Method in interface be.imgn.inject.context.MethodInvocation
-
Returns the call arguments, in order; unmodifiable.
- Assisted - Annotation Interface in be.imgn.inject
-
Marks a caller-supplied parameter of an assisted recipe: an
@Injectconstructor or@Providesmethod containing one becomes reachable only through anAssistedFactorymethod, which supplies these parameters at call time while the container resolves the rest. - AssistedFactory - Annotation Interface in be.imgn.inject
-
Marks a factory-interface method the annotation processor implements.
B
- be.imgn.inject - module be.imgn.inject
-
The zero-reflection dependency injection runtime.
- be.imgn.inject - package be.imgn.inject
-
Public API of the
be.imgn.injectdependency injection framework. - be.imgn.inject.context - package be.imgn.inject.context
-
Internal engine of the framework; public only so generated factories can extend
Factory. - be.imgn.inject.processor - module be.imgn.inject.processor
-
The annotation processor that generates the factories
be.imgn.injectresolves at runtime. - be.imgn.inject.processor.spi - package be.imgn.inject.processor.spi
-
Plugin SPI for extending the
be.imgn.injectannotation processor pipeline. - BeanDefinition - Interface in be.imgn.inject.context
-
A read-only view of a registered bean: its primary key, the framework annotations declared on it, and its injection points.
- beanType() - Method in record class be.imgn.inject.processor.spi.InjectionSite
-
Returns the value of the
beanTyperecord component. - bind(Context) - Method in class be.imgn.inject.context.InterceptedMethod
-
Returns this call site bound to
context: one interceptor provider per binding, in order. - bind(Key, T) - Method in class be.imgn.inject.Injector.Builder
-
Returns this builder, binding
instancetokey. - bind(Key, T) - Method in class be.imgn.inject.Injector.ChildBuilder
-
Returns this builder, binding
instancetokey. - bind(Class, T) - Method in class be.imgn.inject.Injector.Builder
-
Returns this builder, binding
instanceas the unqualified key fortype. - bind(Class, T) - Method in class be.imgn.inject.Injector.ChildBuilder
-
Returns this builder, binding
instanceas the unqualified key fortype. - bindings() - Method in class be.imgn.inject.context.InterceptedMethod
-
Returns the intercepting annotations, outermost first.
- bindProvider(Key, Provider) - Method in class be.imgn.inject.Injector.Builder
-
Returns this builder, binding a provider evaluated on every resolution for
key. - bindProvider(Key, Provider) - Method in class be.imgn.inject.Injector.ChildBuilder
-
Returns this builder, binding a provider evaluated on every resolution through the child.
- bindProvider(Class, Provider) - Method in class be.imgn.inject.Injector.Builder
-
Returns this builder, binding a provider evaluated on every resolution for
type. - bindProvider(Class, Provider) - Method in class be.imgn.inject.Injector.ChildBuilder
-
Returns this builder, binding a provider evaluated on every resolution through the child.
- booleanValue(String) - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the
booleanvalue ofmember, if present. - build() - Method in class be.imgn.inject.Injector.Builder
-
Returns a new injector applying the configured overrides.
- build() - Method in class be.imgn.inject.Injector.ChildBuilder
-
Returns the child injector applying these bindings over the parent.
- build(Context) - Method in class be.imgn.inject.context.Factory
-
Builds and fully injects an instance, then reports it through
Context.constructed(Object). - builder() - Static method in interface be.imgn.inject.Injector
-
Returns a builder for an injector whose instance bindings shadow discovered ones (a test seam).
- byStereotype(Class) - Method in class be.imgn.inject.context.AnnotationMetadata
-
Returns every annotation at the site whose type carries
stereotype.
C
- childBuilder() - Method in interface be.imgn.inject.Injector
-
Returns a builder for a child of this injector: its bindings layer over this injector's graph.
- ChildContext - Class in be.imgn.inject.context
-
A child
Context: nearest-ancestor local bindings first (walking up through any intermediateChildContexts), then the parent. - ChildContext(Context, Map) - Constructor for class be.imgn.inject.context.ChildContext
-
Creates a child context over
parent. - ChildContext(Context, Map, Class) - Constructor for class be.imgn.inject.context.ChildContext
-
Creates a child context over
parentthat hosts the child-localscope: it builds and caches the instances of that scope's beans resolved through it or its descendants. - CircularDependencyException - Exception Class in be.imgn.inject
-
Thrown when a dependency cycle is detected at resolution time.
- CircularDependencyException(String) - Constructor for exception class be.imgn.inject.CircularDependencyException
-
Creates the exception.
- classValue(String) - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the
Classvalue ofmember, if present. - close() - Method in class be.imgn.inject.context.ChildContext
-
Closes this child context: rejects further resolution through it, including through the providers it returned, closes its live child contexts, newest first, then destroys the instances of its hosted scope (invoking each factory's
@PreDestroy) in reverse creation order. - close() - Method in interface be.imgn.inject.context.Context
-
Destroys this context's scoped instances (invoking their
@PreDestroycallbacks) and marks it closed. - close() - Method in class be.imgn.inject.context.DefaultContext
-
Closes the live child contexts, newest first, then destroys every tracked scoped instance (invoking each factory's
@PreDestroy) in reverse creation order, and rejects further resolution. - close() - Method in interface be.imgn.inject.Injector
-
Closes this injector: rejects further resolution through it, including through the providers it returned, closes its live child injectors, newest first, then invokes
@PreDestroyon every scoped instance it created, in reverse creation order. - collectionKey() - Method in record class be.imgn.inject.context.Contribution
-
Returns the value of the
collectionKeyrecord component. - Condition - Interface in be.imgn.inject.context
-
Decides whether a bean carrying a given conditioning annotation is registered.
- ConditionalOnProperty - Annotation Interface in be.imgn.inject
-
Registers the annotated bean only when a property matches.
- ConditionContext - Interface in be.imgn.inject.context
-
The environment a
Conditionevaluates against. - ConditioningAnnotation - Annotation Interface in be.imgn.inject
-
Meta-annotation marking an annotation as a registration condition.
- ConditionResolutionException - Exception Class in be.imgn.inject
-
Thrown when a conditioning annotation has no registered
Condition, or more than one. - ConditionResolutionException(String) - Constructor for exception class be.imgn.inject.ConditionResolutionException
-
Creates the exception.
- constructed(Object, Injector) - Method in interface be.imgn.inject.ConstructionListener
-
Called with each instance the container builds.
- constructed(T) - Method in class be.imgn.inject.context.ChildContext
- constructed(T) - Method in interface be.imgn.inject.context.Context
-
Reports a fully built instance to the
ConstructionListeners, with the injector of this context. - constructed(T) - Method in class be.imgn.inject.context.DefaultContext
- ConstructionListener - Interface in be.imgn.inject
-
Observes the instances the container builds.
- constructorInjectionPoint() - Method in class be.imgn.inject.context.Factory
-
Returns the constructor injection point, or empty when the constructor takes no injected arguments.
- ConstructorInjectionPoint - Record Class in be.imgn.inject.context
-
The constructor injection point of a bean.
- ConstructorInjectionPoint(Factory, List, AnnotationMetadata) - Constructor for record class be.imgn.inject.context.ConstructorInjectionPoint
-
Creates a constructor injection point.
- Context - Interface in be.imgn.inject.context
-
The internal resolution engine.
- contribution() - Method in class be.imgn.inject.context.Factory
-
Returns this factory's collection contribution, or empty when the bean binds under its own keys.
- Contribution - Record Class in be.imgn.inject.context
-
A factory's collection membership: instead of binding under its own keys, the factory's bean joins the collection bound at
collectionKey. - Contribution(Key, String) - Constructor for record class be.imgn.inject.context.Contribution
-
Creates a collection contribution.
- create() - Static method in interface be.imgn.inject.Injector
-
Returns a new injector backed by all registered factories and scopes.
- createInstance(Context) - Method in class be.imgn.inject.context.Factory
-
Creates the instance (constructor injection).
- createScoped(ScopedProduct, Consumer, Function) - Method in class be.imgn.inject.context.ChildContext
- createScoped(ScopedProduct, Consumer, Function) - Method in interface be.imgn.inject.context.Context
-
Creates the instance of a child-local assisted product, and caches it in the nearest context of the chain that hosts its scope, by its key.
- createScoped(ScopedProduct, Consumer, Function) - Method in class be.imgn.inject.context.DefaultContext
-
Rejects the call: the root never hosts a child-local scope.
- creator() - Method in record class be.imgn.inject.context.ScopedProduct
-
Returns the value of the
creatorrecord component.
D
- declaringType() - Method in class be.imgn.inject.context.InterceptedMethod
-
Returns the type declaring the intercepted method.
- declaringType() - Method in interface be.imgn.inject.context.MethodInvocation
-
Returns the type declaring the intercepted method.
- Default - Annotation Interface in be.imgn.inject
-
Marks a
Providesmethod as the fallback recipe for its key: the binding is used only when no other live binding satisfies the same key. - DefaultContext - Class in be.imgn.inject.context
-
Default
Context: loads allFactoryandScopeservices, wraps each factory provider with a cycle guard and its declared scope, checks that every live bean's dependencies are bound, and resolves keys lazily. - DefaultContext() - Constructor for class be.imgn.inject.context.DefaultContext
-
Creates a context loaded from all registered
Factory,Scope, andConditionservices. - DefaultContext(Map) - Constructor for class be.imgn.inject.context.DefaultContext
-
Creates a context loaded from all registered services, with
overridesshadowing discovered bindings. - DuplicateBindingException - Exception Class in be.imgn.inject
-
Thrown when two factories expose the same
Key. - DuplicateBindingException(String) - Constructor for exception class be.imgn.inject.DuplicateBindingException
-
Creates the exception.
E
- Eager - Annotation Interface in be.imgn.inject
- element() - Method in record class be.imgn.inject.processor.spi.InjectionSite
-
Returns the value of the
elementrecord component. - empty() - Static method in class be.imgn.inject.context.AnnotationMetadata
-
Returns the shared empty metadata instance.
- enumValue(String, Class) - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the enum value of
member, if present and ofenumType. - equals(Object) - Method in class be.imgn.inject.context.AnnotationValue
- equals(Object) - Method in record class be.imgn.inject.context.ConstructorInjectionPoint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.inject.context.Contribution
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.inject.context.MethodInjectionPoint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.inject.context.Parameter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class be.imgn.inject.context.ScopedProduct
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class be.imgn.inject.Key
- equals(Object) - Method in record class be.imgn.inject.processor.spi.InjectionSite
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class be.imgn.inject.TypeLiteral
- ExposeAs - Annotation Interface in be.imgn.inject
-
Narrows the keys a bean is exposed under to exactly the listed types, replacing the default (the bean type plus all of its supertypes).
- exposedKeys() - Method in class be.imgn.inject.context.Factory
-
Returns the keys this factory exposes; the bean type by default.
F
- factory() - Method in record class be.imgn.inject.context.ConstructorInjectionPoint
-
Returns the value of the
factoryrecord component. - factory() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns the value of the
factoryrecord component. - factory() - Method in interface be.imgn.inject.context.InjectionPoint
-
Returns the factory owning this injection point.
- factory() - Method in record class be.imgn.inject.context.MethodInjectionPoint
-
Returns the value of the
factoryrecord component. - Factory<T> - Class in be.imgn.inject.context
-
Base class for per-bean factories.
- Factory(Class) - Constructor for class be.imgn.inject.context.Factory
-
Creates a factory for
type. - FactoryProvider<T> - Class in be.imgn.inject.context
- FactoryProvider(Context, Factory) - Constructor for class be.imgn.inject.context.FactoryProvider
-
Creates a provider backed by
factory. - FieldInjectionPoint - Record Class in be.imgn.inject.context
-
A field injection point.
- FieldInjectionPoint(Factory, String, Type, AnnotationMetadata) - Constructor for record class be.imgn.inject.context.FieldInjectionPoint
-
Creates a field injection point.
- FieldInjectionPoint(Factory, String, Type, Class, Annotation, AnnotationMetadata, boolean) - Constructor for record class be.imgn.inject.context.FieldInjectionPoint
-
Creates a field injection point.
- FieldInjectionPoint(Factory, String, Type, Annotation, AnnotationMetadata) - Constructor for record class be.imgn.inject.context.FieldInjectionPoint
-
Creates a field injection point.
- FieldInjectionPoint(Factory, String, Type, Class, AnnotationMetadata) - Constructor for record class be.imgn.inject.context.FieldInjectionPoint
-
Creates a field injection point.
- fieldInjectionPoints() - Method in class be.imgn.inject.context.Factory
-
Returns the field injection points; none by default.
- fieldName() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns the value of the
fieldNamerecord component. - fieldType() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns the value of the
fieldTyperecord component.
G
- get() - Method in class be.imgn.inject.context.FactoryProvider
- get() - Method in class be.imgn.inject.context.SingletonProvider
- get() - Method in interface be.imgn.inject.Provider
-
Returns a provided instance of
T. - get(Class) - Method in class be.imgn.inject.context.AnnotationMetadata
-
Returns the annotation of
typepresent at the site, if any. - get(String, Class) - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the value of
member, converted totype, if present and assignable. - getBeanDefinition(Key) - Method in class be.imgn.inject.context.ChildContext
- getBeanDefinition(Key) - Method in interface be.imgn.inject.context.Context
-
Returns the definition bound to
key, if any. - getBeanDefinition(Key) - Method in class be.imgn.inject.context.DefaultContext
- getBeanDefinition(Key) - Method in interface be.imgn.inject.Injector
-
Returns the definition bound to
key, if any. - getBeanDefinitionsByStereotype(Class) - Method in class be.imgn.inject.context.ChildContext
- getBeanDefinitionsByStereotype(Class) - Method in interface be.imgn.inject.context.Context
-
Returns every registered definition whose bean is annotated with an annotation carrying
stereotype. - getBeanDefinitionsByStereotype(Class) - Method in class be.imgn.inject.context.DefaultContext
- getBeanDefinitionsByStereotype(Class) - Method in interface be.imgn.inject.Injector
-
Returns every bean annotated with an annotation carrying
stereotype. - getInstance(Key) - Method in interface be.imgn.inject.Injector
-
Returns an instance for
key. - getInstance(TypeLiteral) - Method in interface be.imgn.inject.Injector
-
Returns an instance of the generic
type. - getInstance(Class) - Method in interface be.imgn.inject.Injector
-
Returns an instance of
type. - getInstanceForConstructor(int, Class, Context) - Method in class be.imgn.inject.context.Factory
-
Returns the resolved instance for the
paramIndex-th constructor parameter. - getInstanceForField(int, Class, Context) - Method in class be.imgn.inject.context.Factory
-
Returns the resolved instance for a field.
- getInstanceForMethod(int, int, Class, Context) - Method in class be.imgn.inject.context.Factory
-
Returns the resolved instance for a method parameter.
- getProvider(Key) - Method in class be.imgn.inject.context.ChildContext
- getProvider(Key) - Method in interface be.imgn.inject.context.Context
-
Returns the provider bound to
key. - getProvider(Key) - Method in class be.imgn.inject.context.DefaultContext
- getProvider(Key) - Method in interface be.imgn.inject.Injector
-
Returns the provider for
key. - getProvider(TypeLiteral) - Method in interface be.imgn.inject.Injector
-
Returns a provider of the generic
type. - getProvider(Class) - Method in interface be.imgn.inject.Injector
-
Returns a provider of
type. - getProviderForConstructor(int, Class, Context) - Method in class be.imgn.inject.context.Factory
-
Returns the provider for the
paramIndex-th constructor parameter. - getProviderForField(int, Class, Context) - Method in class be.imgn.inject.context.Factory
-
Returns the provider for the field at
fieldIndex. - getProviderForMethod(int, int, Class, Context) - Method in class be.imgn.inject.context.Factory
-
Returns the provider for the
paramIndex-th parameter of the method atmethodIndex. - getType() - Method in class be.imgn.inject.TypeLiteral
-
Returns the underlying reflective type.
H
- hashCode() - Method in class be.imgn.inject.context.AnnotationValue
- hashCode() - Method in record class be.imgn.inject.context.ConstructorInjectionPoint
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.inject.context.Contribution
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.inject.context.MethodInjectionPoint
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.inject.context.Parameter
-
Returns a hash code value for this object.
- hashCode() - Method in record class be.imgn.inject.context.ScopedProduct
-
Returns a hash code value for this object.
- hashCode() - Method in class be.imgn.inject.Key
- hashCode() - Method in record class be.imgn.inject.processor.spi.InjectionSite
-
Returns a hash code value for this object.
- hashCode() - Method in class be.imgn.inject.TypeLiteral
- hasPreDestroy() - Method in class be.imgn.inject.context.Factory
-
Returns whether this factory's bean declares a
@PreDestroycallback. - hasQualifier() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns whether this field has a qualifier.
- hasQualifier() - Method in record class be.imgn.inject.context.Parameter
-
Returns whether this parameter has a qualifier.
- hasQualifier() - Method in class be.imgn.inject.Key
-
Returns whether this key carries a qualifier.
- hasStereotype(Class) - Method in class be.imgn.inject.context.AnnotationMetadata
-
Returns whether any annotation at the site carries
stereotype. - hasStereotype(Class) - Method in class be.imgn.inject.context.AnnotationValue
-
Returns whether this annotation's type carries
stereotype. - havingValue() - Element in annotation interface be.imgn.inject.ConditionalOnProperty
-
Returns the required property value; empty means "present with any value".
I
- initializer(InjectionSite) - Method in interface be.imgn.inject.processor.spi.InjectPlugin
-
Returns an initializer expression for the given injection site, or empty to decline it.
- Inject - Annotation Interface in be.imgn.inject
-
Marks a constructor, method, or field as an injection point.
- injectFields(T, Context) - Method in class be.imgn.inject.context.Factory
-
Injects annotated fields.
- InjectingAnnotation - Annotation Interface in be.imgn.inject
-
Meta-annotation marking an annotation as a plugin-handled injecting annotation.
- InjectionException - Exception Class in be.imgn.inject
-
Base type for all runtime injection failures.
- InjectionException(String) - Constructor for exception class be.imgn.inject.InjectionException
-
Creates the exception.
- InjectionException(String, Throwable) - Constructor for exception class be.imgn.inject.InjectionException
-
Creates the exception.
- InjectionPoint - Interface in be.imgn.inject.context
-
Metadata describing where dependencies are injected, for inspection and resolution.
- injectionPoints() - Method in interface be.imgn.inject.context.BeanDefinition
-
Returns the bean's injection points: its constructor (when it injects), then methods, then fields.
- injectionPoints() - Method in class be.imgn.inject.context.Factory
-
Returns the bean's injection points: its constructor (when it injects), then methods, then fields.
- InjectionSite - Record Class in be.imgn.inject.processor.spi
-
An injection site offered to an
InjectPlugin— a field, or a constructor/method parameter. - InjectionSite(Element, TypeElement, TypeMirror, ProcessingEnvironment) - Constructor for record class be.imgn.inject.processor.spi.InjectionSite
-
Creates an instance of a
InjectionSiterecord class. - injectMethods(T, Context) - Method in class be.imgn.inject.context.Factory
-
Injects annotated methods.
- Injector - Interface in be.imgn.inject
-
The user-facing entry point for obtaining instances and providers.
- Injector.Builder - Class in be.imgn.inject
-
Builds an
Injectorthat overlays explicit instance bindings on top of the discovered graph. - Injector.ChildBuilder - Class in be.imgn.inject
-
Builds a child
Injector: explicit instance and provider bindings layered over the parent's graph. - InjectPlugin - Interface in be.imgn.inject.processor.spi
-
Extension point for the annotation processor, discovered via
ServiceLoader. - InterceptedMethod - Class in be.imgn.inject.context
-
An intercepted method's immutable call-site description: what the method is, and which annotations bind interceptors to it, outermost first.
- InterceptingAnnotation - Annotation Interface in be.imgn.inject
-
Meta-annotation marking an annotation as an interception trigger.
- InterceptionException - Exception Class in be.imgn.inject
-
Thrown when an interceptor throws something the intercepted method does not declare, or returns an illegal value.
- InterceptionException(String) - Constructor for exception class be.imgn.inject.InterceptionException
-
Creates the exception.
- InterceptionException(String, Throwable) - Constructor for exception class be.imgn.inject.InterceptionException
-
Creates the exception.
- interceptor(Class) - Method in class be.imgn.inject.context.ChildContext
- interceptor(Class) - Method in interface be.imgn.inject.context.Context
-
Returns the provider for the interceptor handling
annotationType. - interceptor(Class) - Method in class be.imgn.inject.context.DefaultContext
- InterceptorResolutionException - Exception Class in be.imgn.inject
-
Thrown when an intercepting annotation is in use but no bean is annotated
Interceptsfor it. - InterceptorResolutionException(String) - Constructor for exception class be.imgn.inject.InterceptorResolutionException
-
Creates the exception.
- InterceptorResolutionException(String, Throwable) - Constructor for exception class be.imgn.inject.InterceptorResolutionException
-
Creates the exception.
- intercepts() - Method in class be.imgn.inject.context.Factory
-
Returns the intercepting annotation this bean handles, or empty when the bean is not an interceptor.
- Intercepts - Annotation Interface in be.imgn.inject
-
Marks a bean as the
MethodInterceptorhandling one intercepting annotation. - IntoMap - Annotation Interface in be.imgn.inject
-
Contributes the annotated bean (or
@Providesresult) to theMap<String, value>binding underIntoMap.key(), instead of binding it under its own keys. - IntoSet - Annotation Interface in be.imgn.inject
-
Contributes the annotated bean (or
@Providesresult) to theSet<value>binding instead of binding it under its own keys. - intValue(String) - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the
intvalue ofmember, if present. - invoke(MethodInvocation) - Method in interface be.imgn.inject.context.MethodInterceptor
-
Returns the call's result, which may be the value
MethodInvocation.proceed()returned or one of this interceptor's own. - invoke(Object[]) - Method in interface be.imgn.inject.context.Joinpoint
-
Returns the intercepted method's own result.
- invoke(Object, Object[], Joinpoint) - Method in class be.imgn.inject.context.MethodInterception
-
Returns the call's result, after running every interceptor around
joinpoint. - isDefault() - Method in class be.imgn.inject.context.Factory
-
Returns whether this factory is a fallback binding, used only when no other live binding claims its key.
- isEager() - Method in class be.imgn.inject.context.Factory
-
Returns whether the root injector builds this factory's singleton when it is created; false by default.
- isEmpty() - Method in class be.imgn.inject.context.AnnotationMetadata
-
Returns whether no framework-related annotation was present at the site.
- isPresent(Class) - Method in class be.imgn.inject.context.AnnotationMetadata
-
Returns whether an annotation of
typeis present at the site. - isProvider() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns the value of the
isProviderrecord component. - isProvider() - Method in record class be.imgn.inject.context.Parameter
-
Returns the value of the
isProviderrecord component.
J
- Joinpoint - Interface in be.imgn.inject.context
-
The innermost hop of an interceptor chain: the call to the bean's own implementation.
K
- key() - Method in interface be.imgn.inject.context.BeanDefinition
-
Returns the bean's primary (unqualified) key.
- key() - Method in class be.imgn.inject.context.Factory
-
Returns the bean's primary (unqualified) key.
- key() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns the key for this field.
- key() - Method in record class be.imgn.inject.context.Parameter
-
Returns the key for this parameter.
- key() - Method in record class be.imgn.inject.context.ScopedProduct
-
Returns the value of the
keyrecord component. - key() - Element in annotation interface be.imgn.inject.IntoMap
-
Returns the map key for this contribution; must not be blank.
- Key<T> - Class in be.imgn.inject
-
A binding identity: a
Typeoptionally combined with a qualifier annotation. - keyForParameter(int) - Method in record class be.imgn.inject.context.ConstructorInjectionPoint
-
Returns the key for the parameter at
index. - keyForParameter(int) - Method in record class be.imgn.inject.context.MethodInjectionPoint
-
Returns the key for the parameter at
index.
L
- listValue(String, Class) - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the array-valued
memberas a list oftype, empty when absent.
M
- mapKey() - Method in record class be.imgn.inject.context.Contribution
-
Returns the value of the
mapKeyrecord component. - mapOf(Class, Class) - Static method in class be.imgn.inject.Types
-
Returns the type
Map<keyType, valueType>. - matches(ConditionContext, AnnotationValue) - Method in interface be.imgn.inject.context.Condition
-
Returns whether the bean should be registered.
- matches(ConditionContext, AnnotationValue) - Method in class be.imgn.inject.context.OnPropertyCondition
- matchIfMissing() - Element in annotation interface be.imgn.inject.ConditionalOnProperty
-
Returns whether the bean is registered when the property is absent.
- method() - Element in annotation interface be.imgn.inject.AssistedFactory
-
Returns the name of an assisted
@Providesmethod onAssistedFactory.value(); empty for constructor recipes. - MethodInjectionPoint - Record Class in be.imgn.inject.context
-
A method injection point.
- MethodInjectionPoint(Factory, String, List, AnnotationMetadata) - Constructor for record class be.imgn.inject.context.MethodInjectionPoint
-
Creates a method injection point.
- methodInjectionPoints() - Method in class be.imgn.inject.context.Factory
-
Returns the method injection points; none by default.
- MethodInterception - Class in be.imgn.inject.context
-
A context-bound interceptor chain for one intercepted method: the call site plus one provider per binding, in order.
- MethodInterceptor - Interface in be.imgn.inject.context
-
Runs around an intercepted method call.
- MethodInvocation - Interface in be.imgn.inject.context
-
One intercepted call, as seen by one interceptor.
- methodName() - Method in class be.imgn.inject.context.InterceptedMethod
-
Returns the method name.
- methodName() - Method in record class be.imgn.inject.context.MethodInjectionPoint
-
Returns the value of the
methodNamerecord component. - methodName() - Method in interface be.imgn.inject.context.MethodInvocation
-
Returns the intercepted method's name.
N
- name() - Method in record class be.imgn.inject.context.Parameter
-
Returns the value of the
namerecord component. - named(String) - Static method in class be.imgn.inject.Names
-
Returns a
Namedinstance for use as a qualifier. - Named - Annotation Interface in be.imgn.inject
-
Built-in string qualifier.
- Names - Class in be.imgn.inject
-
Factories for built-in qualifier annotation instances.
O
- of(AnnotationValue...) - Static method in class be.imgn.inject.context.AnnotationMetadata
-
Returns metadata holding
annotations, keyed by annotation type. - of(TypeLiteral) - Static method in class be.imgn.inject.Key
-
Returns an unqualified key for
type. - of(TypeLiteral, Annotation) - Static method in class be.imgn.inject.Key
-
Returns a key for
typequalified by an annotation instance. - of(TypeLiteral, Class) - Static method in class be.imgn.inject.Key
-
Returns a key for
typequalified by a marker annotation type. - of(Class, String, Class, List, List) - Static method in class be.imgn.inject.context.InterceptedMethod
-
Returns a call-site description.
- of(Class, Map, Set) - Static method in class be.imgn.inject.context.AnnotationValue
-
Returns an annotation value.
- of(Class) - Static method in class be.imgn.inject.Key
-
Returns an unqualified key for
type. - of(Class) - Static method in class be.imgn.inject.TypeLiteral
-
Returns a literal for the raw
type. - of(Class, Annotation) - Static method in class be.imgn.inject.Key
-
Returns a key for
typequalified by an annotation instance. - of(Class, Class) - Static method in class be.imgn.inject.Key
-
Returns a key for
typequalified by a marker annotation type. - of(Type) - Static method in class be.imgn.inject.Key
-
Returns an unqualified key for a general
Type. - of(Type) - Static method in class be.imgn.inject.TypeLiteral
-
Returns a literal for a general
Type. - of(Type, Class) - Static method in class be.imgn.inject.Key
-
Returns a key for a general
Typewith an optional marker qualifier. - of(Type, Annotation) - Static method in class be.imgn.inject.Key
-
Returns a key for a general
Typewith an optional annotation-instance qualifier. - OnPropertyCondition - Class in be.imgn.inject.context
-
Built-in
ConditionforConditionalOnProperty. - OnPropertyCondition() - Constructor for class be.imgn.inject.context.OnPropertyCondition
-
Creates the condition.
P
- Parameter - Record Class in be.imgn.inject.context
-
Describes one constructor or method parameter to inject.
- Parameter(String, Type) - Constructor for record class be.imgn.inject.context.Parameter
-
Creates a parameter description.
- Parameter(String, Type, boolean) - Constructor for record class be.imgn.inject.context.Parameter
-
Creates a parameter description.
- Parameter(String, Type, Class, Annotation, AnnotationMetadata, boolean) - Constructor for record class be.imgn.inject.context.Parameter
-
Creates a parameter description.
- Parameter(String, Type, Annotation) - Constructor for record class be.imgn.inject.context.Parameter
-
Creates a parameter description.
- Parameter(String, Type, Annotation, boolean) - Constructor for record class be.imgn.inject.context.Parameter
-
Creates a parameter description.
- Parameter(String, Type, Class) - Constructor for record class be.imgn.inject.context.Parameter
-
Creates a parameter description.
- Parameter(String, Type, Class, boolean) - Constructor for record class be.imgn.inject.context.Parameter
-
Creates a parameter description.
- parameters() - Method in record class be.imgn.inject.context.ConstructorInjectionPoint
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class be.imgn.inject.context.MethodInjectionPoint
-
Returns the value of the
parametersrecord component. - parameterTypes() - Method in class be.imgn.inject.context.InterceptedMethod
-
Returns the parameter types, in order.
- parameterTypes() - Method in interface be.imgn.inject.context.MethodInvocation
-
Returns the intercepted method's parameter types, in order.
- postConstruct(T) - Method in class be.imgn.inject.context.Factory
-
Invoked by
Factory.build(Context)after field injection. - PostConstruct - Annotation Interface in be.imgn.inject
-
Marks the method invoked once the bean is fully injected — after constructor,
@Injectmethods, and@Injectfields. - preDestroy(T) - Method in class be.imgn.inject.context.Factory
-
Invoked by the owning context when the injector closes.
- PreDestroy - Annotation Interface in be.imgn.inject
-
Marks the method invoked when the owning injector closes: for a bean of a child-local scope, the child injector that hosts it.
- proceed() - Method in interface be.imgn.inject.context.MethodInvocation
-
Returns the result of the rest of the chain, with the current arguments.
- proceed(Object...) - Method in interface be.imgn.inject.context.MethodInvocation
-
Returns the result of the rest of the chain, with
argumentsreplacing the current ones. - processingEnvironment() - Method in record class be.imgn.inject.processor.spi.InjectionSite
-
Returns the value of the
processingEnvironmentrecord component. - property(String) - Method in interface be.imgn.inject.context.ConditionContext
-
Returns the value of property
name, if set. - Provider<T> - Interface in be.imgn.inject
-
The core abstraction: supplies an instance of
Ton demand. - Provides - Annotation Interface in be.imgn.inject
-
Marks a method that supplies an instance of its return type.
Q
- qualifier() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns the value of the
qualifierrecord component. - qualifier() - Method in record class be.imgn.inject.context.Parameter
-
Returns the value of the
qualifierrecord component. - qualifierType() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns the value of the
qualifierTyperecord component. - qualifierType() - Method in record class be.imgn.inject.context.Parameter
-
Returns the value of the
qualifierTyperecord component. - QualifyingAnnotation - Annotation Interface in be.imgn.inject
-
Meta-annotation marking an annotation as a qualifier (contributes to a
Key).
R
- returnType() - Method in class be.imgn.inject.context.InterceptedMethod
-
Returns the return type.
- returnType() - Method in interface be.imgn.inject.context.MethodInvocation
-
Returns the intercepted method's return type;
void.classfor a void method.
S
- scope() - Method in class be.imgn.inject.context.Factory
-
Returns the scoping annotation for this bean, or empty for prototype scope.
- scope() - Method in record class be.imgn.inject.context.ScopedProduct
-
Returns the value of the
scoperecord component. - Scope - Interface in be.imgn.inject.context
-
Wraps a provider to give it a lifecycle.
- scopedChildBuilder(Class) - Method in interface be.imgn.inject.Injector
-
Returns a builder for a child of this injector that hosts the child-local
scope: its bindings layer over this injector's graph, and it builds and caches the instances ofscope's beans resolved through it or its descendants. - ScopedProduct - Record Class in be.imgn.inject.context
-
The product of an assisted factory method whose recipe has a child-local scope.
- ScopedProduct(Key, Class, String) - Constructor for record class be.imgn.inject.context.ScopedProduct
-
Creates a scoped product.
- scopedProducts() - Method in class be.imgn.inject.context.Factory
-
Returns the products of child-local scope this factory creates; none by default.
- ScopeResolutionException - Exception Class in be.imgn.inject
-
Thrown when a scope cannot apply: more than one
Scopefor a scoping annotation, a bean of a child-local scope resolved where no injector hosts that scope, or a child-local bean contributing to a collection. - ScopeResolutionException(String) - Constructor for exception class be.imgn.inject.ScopeResolutionException
-
Creates the exception.
- ScopingAnnotation - Annotation Interface in be.imgn.inject
-
Meta-annotation marking an annotation as a scope selector.
- setInjector(Injector) - Method in class be.imgn.inject.context.ChildContext
-
Attaches the
Injectorthis context resolvesKey.of(Injector.class)to. - setInjector(Injector) - Method in class be.imgn.inject.context.DefaultContext
-
Attaches the
Injectorthis context resolvesKey.of(Injector.class)to, resolves theConstructionListeners, then builds the eager singletons, which the listeners see. - setOf(Class) - Static method in class be.imgn.inject.Types
-
Returns the type
Set<elementType>. - Singleton - Annotation Interface in be.imgn.inject
-
Built-in scope: exactly one instance per injector.
- SingletonProvider<T> - Class in be.imgn.inject.context
-
Wraps a provider so its delegate is invoked exactly once; every
SingletonProvider.get()returns the same instance. - SingletonProvider(Provider) - Constructor for class be.imgn.inject.context.SingletonProvider
-
Creates a memoizing provider.
- SingletonScope - Class in be.imgn.inject.context
-
The built-in
Singletonscope: memoizes the wrapped provider. - SingletonScope() - Constructor for class be.imgn.inject.context.SingletonScope
-
Creates the scope.
- stereotypes() - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the framework meta-annotations present on this annotation's type.
- stringValue() - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the
valuemember as aString, if present. - stringValue(String) - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the
Stringvalue ofmember, if present. - supertypeKeys() - Method in class be.imgn.inject.context.Factory
-
Returns the keys among
Factory.exposedKeys()the bean has only through its supertypes; none by default.
T
- target() - Method in interface be.imgn.inject.context.MethodInvocation
-
Returns the intercepted instance.
- targetType() - Method in record class be.imgn.inject.processor.spi.InjectionSite
-
Returns the value of the
targetTyperecord component. - toString() - Method in class be.imgn.inject.context.AnnotationMetadata
- toString() - Method in class be.imgn.inject.context.AnnotationValue
- toString() - Method in record class be.imgn.inject.context.ConstructorInjectionPoint
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.inject.context.Contribution
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.inject.context.FieldInjectionPoint
-
Returns a string representation of this record class.
- toString() - Method in class be.imgn.inject.context.InterceptedMethod
- toString() - Method in record class be.imgn.inject.context.MethodInjectionPoint
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.inject.context.Parameter
-
Returns a string representation of this record class.
- toString() - Method in record class be.imgn.inject.context.ScopedProduct
-
Returns a string representation of this record class.
- toString() - Method in class be.imgn.inject.Key
- toString() - Method in record class be.imgn.inject.processor.spi.InjectionSite
-
Returns a string representation of this record class.
- toString() - Method in class be.imgn.inject.TypeLiteral
- type() - Method in class be.imgn.inject.context.Factory
-
Returns the built type.
- type() - Method in record class be.imgn.inject.context.Parameter
-
Returns the value of the
typerecord component. - type() - Method in class be.imgn.inject.Key
-
Returns the bound type.
- TypeLiteral<T> - Class in be.imgn.inject
-
Represents a generic type
T. - TypeLiteral() - Constructor for class be.imgn.inject.TypeLiteral
-
Captures
Tfrom the anonymous subclass's type argument. - types() - Method in class be.imgn.inject.context.AnnotationMetadata
-
Returns the annotation types present at the site.
- Types - Class in be.imgn.inject
-
Factories for the parameterized
Types used as collection binding keys.
U
- UnsatisfiedDependencyException - Exception Class in be.imgn.inject
-
Thrown when no factory can satisfy a requested
Key. - UnsatisfiedDependencyException(String) - Constructor for exception class be.imgn.inject.UnsatisfiedDependencyException
-
Creates the exception.
V
- value() - Element in annotation interface be.imgn.inject.Assisted
-
Returns the tag disambiguating same-typed assisted parameters; empty for untagged.
- value() - Element in annotation interface be.imgn.inject.AssistedFactory
-
Returns the implementation class, or the recipe's declaring class when
AssistedFactory.method()is set. - value() - Element in annotation interface be.imgn.inject.ConditionalOnProperty
-
Returns the property name to test.
- value() - Element in annotation interface be.imgn.inject.ExposeAs
-
Returns the types the bean (or
@Providesresult) is exposed as; must be non-empty and each a supertype of the produced type. - value() - Element in annotation interface be.imgn.inject.Intercepts
-
Returns the intercepting annotation this interceptor handles.
- value() - Element in annotation interface be.imgn.inject.IntoMap
-
Returns the map's value type; the bean must be assignable to it.
- value() - Element in annotation interface be.imgn.inject.IntoSet
-
Returns the set's element type; the bean must be assignable to it.
- value() - Element in annotation interface be.imgn.inject.Named
-
Returns the qualifier name.
- values() - Method in class be.imgn.inject.context.AnnotationValue
-
Returns the member values, by member name.
W
- wrap(Provider) - Method in interface be.imgn.inject.context.Scope
-
Returns
providerwrapped with this scope's lifecycle. - wrap(Provider) - Method in class be.imgn.inject.context.SingletonScope
All Classes and Interfaces|All Packages|Serialized Form