Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(AvajeModule) - Method in interface io.avaje.inject.spi.ModuleOrdering
Accept a module for ordering
addAutoClosable(Object) - Method in interface io.avaje.inject.spi.Builder
Check if the instance is AutoCloseable and if so register it with PreDestroy.
addInjector(Consumer<Builder>) - Method in interface io.avaje.inject.spi.Builder
Add field and method injection.
addPostConstruct(Runnable) - Method in interface io.avaje.inject.BeanScopeBuilder
Adds hooks that will execute after this scope is built.
addPostConstruct(Runnable) - Method in interface io.avaje.inject.spi.Builder
Add lifecycle PostConstruct method.
addPostConstruct(Consumer<BeanScope>) - Method in interface io.avaje.inject.BeanScopeBuilder
Adds hook that will execute after this scope is built.
addPostConstruct(Consumer<BeanScope>) - Method in interface io.avaje.inject.spi.Builder
Add lifecycle PostConstruct method.
addPreDestroy(AutoCloseable) - Method in interface io.avaje.inject.BeanScopeBuilder
Add hook that will execute before this scope is destroyed.
addPreDestroy(AutoCloseable) - Method in interface io.avaje.inject.spi.Builder
Add lifecycle PreDestroy method.
addPreDestroy(AutoCloseable, int) - Method in interface io.avaje.inject.BeanScopeBuilder
Add hook with a priority that will execute before this scope is destroyed.
addPreDestroy(AutoCloseable, int) - Method in interface io.avaje.inject.spi.Builder
Add lifecycle PreDestroy method with a given priority.
all() - Method in interface io.avaje.inject.BeanScope
Return all the bean entries from the scope.
all() - Element in annotation type io.avaje.inject.Profile
Expresses that all of the given profiles must be set for the bean to load.
apply(BeanScopeBuilder) - Method in interface io.avaje.inject.spi.InjectPlugin
Apply the plugin to the scope builder.
asPrimary() - Method in interface io.avaje.inject.spi.Builder
Register the next bean as having Primary priority.
asPriority(int) - Method in interface io.avaje.inject.spi.Builder
Register the next bean as having the given priority.
asPrototype() - Method in interface io.avaje.inject.spi.Builder
Register the next bean as having Prototype scope.
asSecondary() - Method in interface io.avaje.inject.spi.Builder
Register the next bean as having Secondary priority.
Assisted - Annotation Type in io.avaje.inject
Used with AssistFactory to mark the properties that are provided as parameters to the factory method.
AssistFactory - Annotation Type in io.avaje.inject
Annotate a bean for which we want to generate a factory.
AUTO_PROXY - Enum constant in enum io.avaje.inject.Lazy.Kind
Attempt compile-time proxy, will warn and fallback to provider compilation if missing conditions for generation
autoCloseable() - Element in annotation type io.avaje.inject.Bean
Specify that the concrete instance of the bean is an AutoCloseable.
Available Extensions - Search tag in interface io.avaje.inject.spi.InjectExtension
Section
AvajeModule - Interface in io.avaje.inject.spi
A Module containing dependencies that will be included in BeanScope.
AvajeModule.Custom - Interface in io.avaje.inject.spi
Marker for custom scoped modules.

B

bean() - Method in interface io.avaje.inject.BeanEntry
Return the bean instance.
bean(Class<D>, D) - Method in interface io.avaje.inject.BeanScopeBuilder
Add a supplied bean instance with the given injection type (typically an interface type).
bean(Type, D) - Method in interface io.avaje.inject.BeanScopeBuilder
Add a supplied bean instance with a generic type.
bean(String, Class<D>, D) - Method in interface io.avaje.inject.BeanScopeBuilder
Add a supplied bean instance with the given name and injection type.
bean(String, Type, D) - Method in interface io.avaje.inject.BeanScopeBuilder
Add a supplied bean instance with the given name and generic type.
Bean - Annotation Type in io.avaje.inject
Marks methods on a @Factory bean that create dependencies.
BeanEntry - Interface in io.avaje.inject
A bean entry with priority and optional name.
BeanFactory<T,R> - Interface in io.avaje.inject.spi
Factory for creating a bean given a single request scope argument.
BeanFactory2<T,R,R2> - Interface in io.avaje.inject.spi
Factory for creating a bean given two request scope arguments.
beans(Object...) - Method in interface io.avaje.inject.BeanScopeBuilder
Supply a bean to the scope that will be used instead of any similar bean in the scope.
BeanScope - Interface in io.avaje.inject
Holds beans created by dependency injection.
BeanScopeBuilder - Interface in io.avaje.inject
Build a bean scope with options for shutdown hook and supplying external dependencies.
BeanScopeBuilder.ForTesting - Interface in io.avaje.inject
Extends the building with testing specific support for mocks and spies.
BeanTypes - Annotation Type in io.avaje.inject
Limits the types exposed by this bean to the given types.
build() - Method in interface io.avaje.inject.BeanScopeBuilder
Build and return the bean scope.
build(boolean, long) - Method in interface io.avaje.inject.spi.Builder
Build and return the bean scope.
build(Builder) - Method in interface io.avaje.inject.spi.AvajeModule
Build all the beans.
builder() - Static method in interface io.avaje.inject.BeanScope
Build a bean scope with options for shutdown hook and supplying external dependencies.
Builder - Interface in io.avaje.inject.spi
Mutable builder object used when building a bean scope.

C

1. Create the scope annotation - Search tag in Overview
Section
2. Create and use BeanScope - Search tag in Overview
Section
classes() - Method in interface io.avaje.inject.spi.AvajeModule
Return public classes of the beans that would be registered by this module.
classLoader(ClassLoader) - Method in interface io.avaje.inject.BeanScopeBuilder
Set the ClassLoader to use when loading modules.
close() - Method in interface io.avaje.inject.BeanScope
Close the scope firing any @PreDestroy lifecycle methods.
closeable() - Method in class io.avaje.inject.spi.ClosePair
 
ClosePair - Class in io.avaje.inject.spi
 
ClosePair(int, AutoCloseable) - Constructor for class io.avaje.inject.spi.ClosePair
 
compareTo(ClosePair) - Method in class io.avaje.inject.spi.ClosePair
 
Component - Annotation Type in io.avaje.inject
Identify a bean as component with singleton scope that avaje-inject will use.
Component.Import - Annotation Type in io.avaje.inject
Specify types to generate DI classes for.
Component.Import.Kind - Enum in io.avaje.inject
 
Component.Imports - Annotation Type in io.avaje.inject
 
configPlugin() - Method in interface io.avaje.inject.BeanScopeBuilder
Return the ConfigPropertyPlugin used for this scope.
configPlugin(ConfigPropertyPlugin) - Method in interface io.avaje.inject.BeanScopeBuilder
Set the ConfigPropertyPlugin used for this scope.
ConfigPropertyPlugin - Interface in io.avaje.inject.spi
Plugin interface which contains the application properties used for wiring.
contains(Type) - Method in interface io.avaje.inject.BeanScope
Return true if the bean scope contains the given type.
contains(Type) - Method in interface io.avaje.inject.spi.Builder
Return true if the builder contains the given type.
contains(String) - Method in interface io.avaje.inject.BeanScope
Return true if the bean scope contains the given type.
contains(String) - Method in interface io.avaje.inject.spi.Builder
Return true if the builder contains the given type.
contains(String) - Method in interface io.avaje.inject.spi.ConfigPropertyPlugin
Return true if the property is defined.
containsAllProfiles(List<String>) - Method in interface io.avaje.inject.spi.Builder
Return true if the builder contains all of the given profile
containsProfiles(List<String>) - Method in interface io.avaje.inject.spi.Builder
Return true if the builder contains the given profile
containsQualifier(String) - Method in interface io.avaje.inject.spi.Builder
Return true if the builder contains a bean with the given name.
create(R) - Method in interface io.avaje.inject.spi.BeanFactory
Create and return the bean.
create(R, R2) - Method in interface io.avaje.inject.spi.BeanFactory2
Create and return the bean.
Create a BeanScope - Search tag in interface io.avaje.inject.BeanScope
Section
currentModule(Class<? extends AvajeModule>) - Method in interface io.avaje.inject.spi.Builder
Set the current module being wired.
currentScopes(String[]) - Method in interface io.avaje.inject.spi.Builder
Set the custom scopes defined by the module being wired.
customScopeAnnotations() - Method in interface io.avaje.inject.BeanScope
Return the custom scope annotations contained in this bean scope.
Custom scope depending on another scope - Search tag in annotation type io.avaje.inject.InjectModule
Section
Custom scopes - Search tag in Overview
Section
customScopeType() - Element in annotation type io.avaje.inject.InjectModule
Internal use only - identifies the custom scope annotation associated to this module.

D

Default scope - Search tag in Overview
Section
definesScopes() - Method in interface io.avaje.inject.spi.AvajeModule
Return the type(s) of scopes that this module provides
DependencyMeta - Annotation Type in io.avaje.inject.spi
Hold bean dependency metadata intended for internal use by the annotation processor.
dependsOn() - Element in annotation type io.avaje.inject.spi.DependencyMeta
The list of dependencies this bean requires.
destroyMethod() - Element in annotation type io.avaje.inject.Bean
Specify a method to be treated like a @PreDestroy
destroyPriority() - Element in annotation type io.avaje.inject.Bean
Specify the priority of the destroy method to control its execution order relative to other destroy methods.

E

EMPTY_CLASSES - Static variable in interface io.avaje.inject.spi.InjectPlugin
Empty array of classes.
EMPTY_STRINGS - Static variable in interface io.avaje.inject.spi.AvajeModule
Empty array of strings.
enrich(B) - Method in class io.avaje.inject.spi.EnrichBean
Return the spy enhanced bean instance to use.
EnrichBean<B> - Class in io.avaje.inject.spi
Holds Spy setup consumers for dependency injection using Mockito Spy.
EnrichBean(Type, String, Consumer<B>) - Constructor for class io.avaje.inject.spi.EnrichBean
 
equals(Object) - Method in class io.avaje.inject.spi.GenericType
 
equalTo() - Element in annotation type io.avaje.inject.RequiresProperty
Used in combination with value() to express the required value of the property.
equalTo(String, String) - Method in interface io.avaje.inject.spi.ConfigPropertyPlugin
Return true if the property is equal to the given value.
Example - Search tag in annotation type io.avaje.inject.AssistFactory
Section
Example - Search tag in annotation type io.avaje.inject.Component
Section
External - Annotation Type in io.avaje.inject
Marks dependencies as an external beans potentially not managed by avaje inject.
External dependencies - Search tag in annotation type io.avaje.inject.InjectModule
Section
External dependencies - Search tag in interface io.avaje.inject.BeanScope
Section

F

factories() - Method in interface io.avaje.inject.spi.ModuleOrdering
The list of factories in the order they should be built.
Factory - Annotation Type in io.avaje.inject
A singleton bean that has methods marked with the @Bean annotation.
FORCE_PROXY - Enum constant in enum io.avaje.inject.Lazy.Kind
Ensures that a compile-time proxy is generated, will fail compilation if missing conditions for generation
forTesting() - Method in interface io.avaje.inject.BeanScopeBuilder
Extend the builder to support testing using mockito with withMock() and withSpy() methods.

G

3. Generated Module - Search tag in Overview
Section
Generated - Annotation Type in io.avaje.inject.spi
Marks source code that has been generated.
Generated code - Search tag in Overview
Section
GenericType<T> - Class in io.avaje.inject.spi
Represents a full type including generic declarations, to avoid information loss due to type erasure.
get(Class<T>) - Method in interface io.avaje.inject.BeanScope
Return a single bean given the type.
get(Class<T>) - Method in interface io.avaje.inject.spi.Builder
Get a dependency.
get(Class<T>, String) - Method in interface io.avaje.inject.BeanScope
Return a single bean given the type and name.
get(Class<T>, String) - Method in interface io.avaje.inject.spi.Builder
Get a named dependency.
get(Type) - Method in interface io.avaje.inject.BeanScope
Return a single bean given the full generic type.
get(Type) - Method in interface io.avaje.inject.spi.Builder
Get a dependency for the generic type.
get(Type, String) - Method in interface io.avaje.inject.BeanScope
Return a single bean given the full generic type and name.
get(Type, String) - Method in interface io.avaje.inject.spi.Builder
Get a named dependency for the generic type.
get(String) - Method in interface io.avaje.inject.spi.ConfigPropertyPlugin
Return a configuration value that might not exist.
getNullable(Class<T>) - Method in interface io.avaje.inject.spi.Builder
Get an optional dependency potentially returning null.
getNullable(Class<T>, String) - Method in interface io.avaje.inject.spi.Builder
Get an optional named dependency potentially returning null.
getNullable(Type) - Method in interface io.avaje.inject.spi.Builder
Get an optional dependency potentially returning null for the generic type.
getNullable(Type, String) - Method in interface io.avaje.inject.spi.Builder
Get an optional named dependency potentially returning null for the generic type.
getOptional(Class<T>) - Method in interface io.avaje.inject.BeanScope
Optionally return a single bean given the type and empty if it is not found.
getOptional(Class<T>) - Method in interface io.avaje.inject.spi.Builder
Get an optional dependency.
getOptional(Class<T>, String) - Method in interface io.avaje.inject.spi.Builder
Get an optional named dependency.
getOptional(Type) - Method in interface io.avaje.inject.spi.Builder
Get an optional dependency for the generic type.
getOptional(Type, String) - Method in interface io.avaje.inject.BeanScope
Optionally return a single bean given the type and name and empty if it is not found.
getOptional(Type, String) - Method in interface io.avaje.inject.spi.Builder
Get an optional named dependency for the generic type.
getProvider(Class<T>) - Method in interface io.avaje.inject.spi.Builder
Return Provider of T given the type.
getProvider(Class<T>, String) - Method in interface io.avaje.inject.spi.Builder
Return Provider of T given the type and name.
getProvider(Type) - Method in interface io.avaje.inject.spi.Builder
Return Provider of T given the generic type.
getProvider(Type, String) - Method in interface io.avaje.inject.spi.Builder
Return Provider of T given the generic type and name.
getProviderFor(Class<?>, Type) - Method in interface io.avaje.inject.spi.Builder
Return Provider for a generic interface type.
getTypeName() - Method in class io.avaje.inject.spi.GenericType
 

H

hashCode() - Method in class io.avaje.inject.spi.GenericType
 
hasKey(Class<?>) - Method in interface io.avaje.inject.BeanEntry
Return true if the entry has a key for this type.

I

ignoreSingleton() - Element in annotation type io.avaje.inject.InjectModule
Set to true to ignore anything annotated with @Singleton.
Ignoring @Singleton - Search tag in annotation type io.avaje.inject.Component
Section
importedComponent() - Element in annotation type io.avaje.inject.spi.DependencyMeta
True when the component has been imported.
initMethod() - Element in annotation type io.avaje.inject.Bean
Specify a method to be treated like a @PostConstruct
InjectExtension - Interface in io.avaje.inject.spi
Superclass for all Inject SPI classes
InjectModule - Annotation Type in io.avaje.inject
Used to explicitly specify whether the current module depends on/provides beans or aspects.
InjectPlugin - Interface in io.avaje.inject.spi
A Plugin that can be applied when creating a bean scope.
interfaces() - Method in class io.avaje.inject.spi.SuppliedBean
Return the interfaces to additionally register along with the type.
io.avaje.inject - module io.avaje.inject
 
io.avaje.inject - package io.avaje.inject
Avaje Inject API - see BeanScope.
io.avaje.inject.spi - package io.avaje.inject.spi
Building bean scope objects expected to only be used by generated code.
isBeanAbsent(Type...) - Method in interface io.avaje.inject.spi.Builder
Return true if the bean should be created and registered with the context.
isBeanAbsent(String, Type...) - Method in interface io.avaje.inject.spi.Builder
Return true if the bean should be created and registered with the context.
isEmpty() - Method in interface io.avaje.inject.spi.ModuleOrdering
Whether no modules are available

K

key() - Method in class io.avaje.inject.spi.EnrichBean
Return the key for this enriched bean.
keys() - Method in interface io.avaje.inject.BeanEntry
Return the type keys for this bean.
kind() - Element in annotation type io.avaje.inject.Component.Import
What kind of bean

L

Lazy - Annotation Type in io.avaje.inject
Marks a class or factory method bean to be initialized lazily.
LAZY - Enum constant in enum io.avaje.inject.Component.Import.Kind
 
Lazy.Kind - Enum in io.avaje.inject
Control whether a compile-time proxy is generated to support lazy initialization.
list(Class<T>) - Method in interface io.avaje.inject.BeanScope
Return the list of beans for a given type.
list(Class<T>) - Method in interface io.avaje.inject.spi.Builder
Get a list of dependencies for the type.
list(Type) - Method in interface io.avaje.inject.BeanScope
Return the list of beans that implement the given type.
list(Type) - Method in interface io.avaje.inject.spi.Builder
Get a list of dependencies for the generic type.
listByAnnotation(Class<? extends Annotation>) - Method in interface io.avaje.inject.BeanScope
Return the list of beans that have an annotation.
listByPriority(Class<T>) - Method in interface io.avaje.inject.BeanScope
Return the list of beans that implement the class sorting by priority.
listByPriority(Type) - Method in interface io.avaje.inject.BeanScope
Return the list of beans that implement the type sorting by priority.

M

map(Class<T>) - Method in interface io.avaje.inject.spi.Builder
Return a map of dependencies for the type keyed by qualifier name.
map(Type) - Method in interface io.avaje.inject.BeanScope
Return the beans for this type mapped by their qualifier name.
map(Type) - Method in interface io.avaje.inject.spi.Builder
Return a map of dependencies for the generic type keyed by qualifier name.
method() - Element in annotation type io.avaje.inject.spi.DependencyMeta
The bean factory method (for @Bean annotated methods).
missing() - Element in annotation type io.avaje.inject.RequiresBean
Expresses that beans of the given types should not be available in the BeanScope.
missing() - Element in annotation type io.avaje.inject.RequiresProperty
Expresses that the bean or configuration will only be registered if the given properties are missing.
missing(String) - Method in interface io.avaje.inject.spi.ConfigPropertyPlugin
Return true if the property is not defined.
mock(Class<D>, Consumer<D>) - Method in interface io.avaje.inject.BeanScopeBuilder.ForTesting
Use a mockito mock when injecting this bean type additionally running setup on the mock instance.
mock(Type) - Method in interface io.avaje.inject.BeanScopeBuilder.ForTesting
Use a mockito mock when injecting this bean type.
mock(Type, String) - Method in interface io.avaje.inject.BeanScopeBuilder.ForTesting
Register as a Mockito mock with a qualifier name.
ModuleOrdering - Interface in io.avaje.inject.spi
Determines Multi-Module wiring order.
modules(AvajeModule...) - Method in interface io.avaje.inject.BeanScopeBuilder
Specify the modules to include in dependency injection.

N

name() - Element in annotation type io.avaje.inject.InjectModule
Explicitly specify the name of the module.
name() - Element in annotation type io.avaje.inject.spi.DependencyMeta
The qualified name of the dependency being provided.
name() - Method in class io.avaje.inject.spi.SuppliedBean
Return the qualifier name of the supplied bean.
newBuilder(Set<String>, ConfigPropertyPlugin, List<SuppliedBean>, List<EnrichBean>, BeanScope, boolean) - Static method in interface io.avaje.inject.spi.Builder
Create the root level Builder.
none() - Element in annotation type io.avaje.inject.Profile
Expresses that none of the given profiles must be set for the bean to load.
NORMAL - Static variable in interface io.avaje.inject.BeanEntry
Priority of normal bean.
notEqualTo() - Element in annotation type io.avaje.inject.RequiresProperty
Constraint a property to not equal the given value.
notEqualTo(String, String) - Method in interface io.avaje.inject.spi.ConfigPropertyPlugin
Return true if the property is not defined or not equal to the given value.

O

of(Class<?>, Object) - Static method in class io.avaje.inject.spi.SuppliedBean
Create with a class type and bean instance.
of(String, Class<B>, B) - Static method in class io.avaje.inject.spi.SuppliedBean
Create for a class type with name.
of(String, Class<B>, Consumer<B>) - Static method in class io.avaje.inject.spi.SuppliedBean
Create for a class type with a consumer that runs once when the bean is obtained.
ofType(String, Type, Object) - Static method in class io.avaje.inject.spi.SuppliedBean
Create a supplied bean for a generic type.
orderModules() - Method in interface io.avaje.inject.spi.ModuleOrdering
Order the factories, returning the ordered list of module names.
Overview - Search tag in Overview
Section

P

parent(BeanScope) - Method in interface io.avaje.inject.BeanScopeBuilder
Use the given BeanScope as the parent.
parent(BeanScope, boolean) - Method in interface io.avaje.inject.BeanScopeBuilder
Use the given BeanScope as the parent additionally specifying if beans added will effectively override beans that exist in the parent scope.
PluginProvides - Annotation Type in io.avaje.inject.spi
Registers InjectPlugin classes for auto-detection with JPMS.
PostConstruct - Annotation Type in io.avaje.inject
The PostConstruct annotation is used on a method that needs to be executed after dependency injection is done to perform any initialization.
PreDestroy - Annotation Type in io.avaje.inject
The PreDestroy annotation is used on a method as a callback notification to signal that the instance is in the process of being removed by the container.
Primary - Annotation Type in io.avaje.inject
Identify a bean as the preferred bean to inject when multiple beans implement the intended interface.
PRIMARY - Static variable in interface io.avaje.inject.BeanEntry
Priority of @Primary bean.
priority() - Method in interface io.avaje.inject.BeanEntry
Return the wiring priority of the bean.
priority() - Element in annotation type io.avaje.inject.PreDestroy
Specify the priority of the destroy method to control its execution order relative to other destroy methods.
priority() - Method in class io.avaje.inject.spi.ClosePair
 
priority() - Method in class io.avaje.inject.spi.SuppliedBean
Return the associated priority.
Priority - Annotation Type in io.avaje.inject
The Priority annotation can be applied to classes to indicate the wiring priority of a bean to resolve cases where multiple beans of the same type exist.
Profile - Annotation Type in io.avaje.inject
Expresses a requirement for a bean to be wired/registered into the BeanScope.
profiles(String...) - Method in interface io.avaje.inject.BeanScopeBuilder
Set the explicit profiles to use when building the scope.
property() - Method in interface io.avaje.inject.spi.Builder
Return the plugin for required properties.
Prototype - Annotation Type in io.avaje.inject
Specify a bean that has prototype scope.
PROTOTYPE - Enum constant in enum io.avaje.inject.Component.Import.Kind
 
provideDefault(String, Type, Supplier<D>) - Method in interface io.avaje.inject.BeanScopeBuilder
Add a supplied bean provider that acts as a default fallback for a dependency.
provideDefault(Type, Supplier<D>) - Method in interface io.avaje.inject.BeanScopeBuilder
Add a supplied bean provider that acts as a default fallback for a dependency.
PROVIDER - Enum constant in enum io.avaje.inject.Lazy.Kind
No proxy, use a provider based lazy initialization
provides() - Element in annotation type io.avaje.inject.InjectModule
Explicitly define beans that are provided by this module and required by other modules.
provides() - Element in annotation type io.avaje.inject.spi.DependencyMeta
Types deemed to be reasonable to provide to external module.
provides() - Method in interface io.avaje.inject.spi.InjectPlugin
Return the classes that the plugin provides.
providesAspects() - Method in interface io.avaje.inject.spi.InjectPlugin
Return the aspect classes that the plugin provides.
providesAspects() - Element in annotation type io.avaje.inject.spi.PluginProvides
The aspects this component provides.
providesBeans() - Method in interface io.avaje.inject.spi.AvajeModule
Return the type names of types this module explicitly provides to other modules.
providesString() - Element in annotation type io.avaje.inject.InjectModule
Explicitly define beans provided by this module and required by other modules.
providesStrings() - Element in annotation type io.avaje.inject.spi.PluginProvides
Fully Qualified Strings of the classes provided.
Proxy - Annotation Type in io.avaje.inject.spi
Marks the type as being a Proxy.

Q

QualifiedMap - Annotation Type in io.avaje.inject
Marks an Map<String, T> field/parameter to receive a map of beans keyed by qualifier name.
qualifierName() - Method in interface io.avaje.inject.BeanEntry
Return the bean name.
qualifiers() - Element in annotation type io.avaje.inject.RequiresBean
Expresses that a @Named or @Qualifier annotation marker of the given name should be available in the BeanScope.

R

register(T) - Method in interface io.avaje.inject.spi.Builder
Register the bean instance into the context.
registerLazy(Provider<T>, Function<Provider<T>, T>) - Method in interface io.avaje.inject.spi.Builder
Register the lazy provider into the context.
registerProvider(Provider<T>) - Method in interface io.avaje.inject.spi.Builder
Register the provider into the context.
requires() - Element in annotation type io.avaje.inject.InjectModule
Required external beans for wiring this module.
RequiresBean - Annotation Type in io.avaje.inject
Expresses a requirement for a bean to be wired/registered into the BeanScope.
RequiresBean.Container - Annotation Type in io.avaje.inject
 
requiresBeans() - Method in interface io.avaje.inject.spi.AvajeModule
Return the type names of types this module needs to be provided externally or via other modules.
requiresPackages() - Element in annotation type io.avaje.inject.InjectModule
Dependencies in these packages are expected to be provided by other modules.
requiresPackagesFromType() - Method in interface io.avaje.inject.spi.AvajeModule
Return the type names of packages this module needs to be provided via other modules.
RequiresProperty - Annotation Type in io.avaje.inject
Expresses a requirement for a bean to be wired/registered into the BeanScope.
RequiresProperty.Container - Annotation Type in io.avaje.inject
 
requiresString() - Element in annotation type io.avaje.inject.InjectModule
Required external beans for wiring this module.

S

1. @Singleton / @Factory - Search tag in Overview
Section
secondary(String, Type, Object) - Static method in class io.avaje.inject.spi.SuppliedBean
Create a supplied bean with SECONDARY priority as a default fallback dependency that is only used when no other matching one is provided.
Secondary - Annotation Type in io.avaje.inject
Identify a bean as being the least preferred bean to inject when multiple beans implement the intended interface.
SECONDARY - Static variable in interface io.avaje.inject.BeanEntry
Priority of @Secondary bean.
set(Class<T>) - Method in interface io.avaje.inject.spi.Builder
Get a set of dependencies for the type.
set(Type) - Method in interface io.avaje.inject.spi.Builder
Get a set of dependencies for the generic type.
shutdownHook(boolean) - Method in interface io.avaje.inject.BeanScopeBuilder
Create the bean scope registering a shutdown hook (defaults to false, no shutdown hook).
SINGLETON - Enum constant in enum io.avaje.inject.Component.Import.Kind
 
source() - Method in class io.avaje.inject.spi.SuppliedBean
Return the bean instance or provider to use for injection.
spy(Class<D>, Consumer<D>) - Method in interface io.avaje.inject.BeanScopeBuilder.ForTesting
Use a mockito spy when injecting this bean type additionally running setup on the spy instance.
spy(Type) - Method in interface io.avaje.inject.BeanScopeBuilder.ForTesting
Use a mockito spy when injecting this bean type.
spy(Type, String) - Method in interface io.avaje.inject.BeanScopeBuilder.ForTesting
Register a Mockito spy with a qualifier name.
strictWiring() - Element in annotation type io.avaje.inject.InjectModule
Optimizes module wiring by enforcing multi-module wiring checks at compile-time.
SUPPLIED - Static variable in interface io.avaje.inject.BeanEntry
Priority of externally supplied bean.
SuppliedBean - Class in io.avaje.inject.spi
Holds beans supplied to the dependency injection.
supportsExpected(List<AvajeModule>) - Method in interface io.avaje.inject.spi.ModuleOrdering
Return true if ordering supports the modules passed in.

T

toString() - Method in class io.avaje.inject.spi.GenericType
 
type() - Method in interface io.avaje.inject.BeanEntry
The bean instance type.
type() - Element in annotation type io.avaje.inject.spi.DependencyMeta
The bean type.
type() - Method in class io.avaje.inject.spi.GenericType
Return the type represented by this generic type instance.
type() - Method in class io.avaje.inject.spi.SuppliedBean
Return the dependency injection target type.

U

2. Use the annotation - Search tag in Overview
Section
4. Use the custom scope - Search tag in Overview
Section

V

value() - Element in annotation type io.avaje.inject.AssistFactory
Specify the factory interface for which the implementation will be generated.
value() - Element in annotation type io.avaje.inject.BeanTypes
 
value() - Element in annotation type io.avaje.inject.Component.Import
Types to generate DI classes for.
value() - Element in annotation type io.avaje.inject.Component.Imports
 
value() - Element in annotation type io.avaje.inject.Lazy
Determine the kind of lazy initialization.
value() - Element in annotation type io.avaje.inject.Priority
 
value() - Element in annotation type io.avaje.inject.Profile
Expresses that any of the given profiles must be set for the bean to load.
value() - Element in annotation type io.avaje.inject.RequiresBean.Container
The required dependencies.
value() - Element in annotation type io.avaje.inject.RequiresBean
Expresses that beans of the given types should be available in the BeanScope.
value() - Element in annotation type io.avaje.inject.RequiresProperty.Container
The required dependencies.
value() - Element in annotation type io.avaje.inject.RequiresProperty
Expresses that the given property should be set for the bean to load.
value() - Element in annotation type io.avaje.inject.spi.Generated
The name of the generator used to generate this source.
value() - Element in annotation type io.avaje.inject.spi.PluginProvides
The types this plugin provides.
valueOf(String) - Static method in enum io.avaje.inject.Component.Import.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.avaje.inject.Lazy.Kind
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.avaje.inject.Component.Import.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.avaje.inject.Lazy.Kind
Returns an array containing the constants of this enum type, in the order they are declared.

W

withBean(Class<T>, T) - Method in interface io.avaje.inject.spi.Builder
Register the externally provided bean.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values