Package be.imgn.inject


@NullMarked package be.imgn.inject
Public API of the be.imgn.inject dependency injection framework.
  • Class
    Description
    Marks a caller-supplied parameter of an assisted recipe: an @Inject constructor or @Provides method containing one becomes reachable only through an AssistedFactory method, which supplies these parameters at call time while the container resolves the rest.
    Marks a factory-interface method the annotation processor implements.
    Thrown when a dependency cycle is detected at resolution time.
    Registers the annotated bean only when a property matches.
    Meta-annotation marking an annotation as a registration condition.
    Thrown when a conditioning annotation has no registered Condition, or more than one.
    Observes the instances the container builds.
    Marks a Provides method as the fallback recipe for its key: the binding is used only when no other live binding satisfies the same key.
    Thrown when two factories expose the same Key.
    Marks a Singleton bean, or a Provides method returning a singleton, to be built when the root injector is created rather than on first resolution.
    Narrows the keys a bean is exposed under to exactly the listed types, replacing the default (the bean type plus all of its supertypes).
    Marks a constructor, method, or field as an injection point.
    Meta-annotation marking an annotation as a plugin-handled injecting annotation.
    Base type for all runtime injection failures.
    The user-facing entry point for obtaining instances and providers.
    Builds an Injector that overlays explicit instance bindings on top of the discovered graph.
    Builds a child Injector: explicit instance and provider bindings layered over the parent's graph.
    Meta-annotation marking an annotation as an interception trigger.
    Thrown when an interceptor throws something the intercepted method does not declare, or returns an illegal value.
    Thrown when an intercepting annotation is in use but no bean is annotated Intercepts for it.
    Marks a bean as the MethodInterceptor handling one intercepting annotation.
    Contributes the annotated bean (or @Provides result) to the Map<String, value> binding under IntoMap.key(), instead of binding it under its own keys.
    Contributes the annotated bean (or @Provides result) to the Set<value> binding instead of binding it under its own keys.
    Key<T>
    A binding identity: a Type optionally combined with a qualifier annotation.
    Built-in string qualifier.
    Factories for built-in qualifier annotation instances.
    Marks the method invoked once the bean is fully injected — after constructor, @Inject methods, and @Inject fields.
    Marks the method invoked when the owning injector closes: for a bean of a child-local scope, the child injector that hosts it.
    The core abstraction: supplies an instance of T on demand.
    Marks a method that supplies an instance of its return type.
    Meta-annotation marking an annotation as a qualifier (contributes to a Key).
    Thrown when a scope cannot apply: more than one Scope for 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.
    Meta-annotation marking an annotation as a scope selector.
    Built-in scope: exactly one instance per injector.
    Represents a generic type T.
    Factories for the parameterized Types used as collection binding keys.
    Thrown when no factory can satisfy a requested Key.