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|Serialized Form

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.
AOPFallback - Annotation Type in io.avaje.inject.aop
Marks a method as a recovery method for an AOP operation.
apply(BeanScopeBuilder) - Method in interface io.avaje.inject.spi.InjectPlugin
Apply the plugin to the scope builder.
apply(BeanScopeBuilder) - Method in interface io.avaje.inject.spi.Plugin
Deprecated.
Apply the plugin to the scope builder.
arguments() - Method in interface io.avaje.inject.aop.Invocation
Return the arguments used for this invocation.
arguments() - Method in class io.avaje.inject.aop.Invocation.Base
 
Aspect - Annotation Type in io.avaje.inject.aop
Meta annotation used to define an Aspect.
Aspect.Import - Annotation Type in io.avaje.inject.aop
Marks an External Annotation as being used for aspects
Aspect.Import.List - Annotation Type in io.avaje.inject.aop
 
AspectProvider<T> - Interface in io.avaje.inject.aop
Provides the MethodInterceptor for the given aspect.
asPrimary() - Method in interface io.avaje.inject.spi.Builder
Register the next bean as having Primary 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 avaje-inject to generate a factory.
autoCloseable() - Element in annotation type io.avaje.inject.Bean
Specify that the concrete instance of the bean is an AutoCloseable.
autoProvides() - Method in interface io.avaje.inject.spi.AvajeModule
Return the classes that this module provides that we allow other modules to auto depend on.
autoProvides() - Element in annotation type io.avaje.inject.spi.DependencyMeta
Types deemed to be reasonable to provide to external module.
autoProvides() - Method in interface io.avaje.inject.spi.Module
Deprecated.
Return the classes that this module provides that we allow other modules to auto depend on.
autoProvidesAspects() - Method in interface io.avaje.inject.spi.AvajeModule
Return the aspects that this module provides.
autoProvidesAspects() - Method in interface io.avaje.inject.spi.Module
Deprecated.
Return the aspects that this module provides.
autoRequires() - Method in interface io.avaje.inject.spi.AvajeModule
These are the classes that this module requires for wiring that are provided by other external modules (that are in the classpath at compile time).
autoRequires() - Method in interface io.avaje.inject.spi.Module
Deprecated.
These are the classes that this module requires for wiring that are provided by other external modules (that are in the classpath at compile time).
autoRequiresAspects() - Method in interface io.avaje.inject.spi.AvajeModule
These are the aspects that this module requires whose implementations are provided by other external modules (that are in the classpath at compile time).
autoRequiresAspects() - Method in interface io.avaje.inject.spi.Module
Deprecated.
These are the apects that this module requires whose implementations are provided by other external modules (that are in the classpath at compile time).
AvajeModule - Interface in io.avaje.inject.spi
A AvajeModule that can be included in BeanScope.
AvajeModule.Custom - Interface in io.avaje.inject.spi
Marker for custom scoped modules.

B

Base() - Constructor for class io.avaje.inject.aop.Invocation.Base
 
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.
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.
build(Builder) - Method in interface io.avaje.inject.spi.Module
Deprecated.
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
Call(Invocation.CheckedSupplier<T>) - Constructor for class io.avaje.inject.aop.Invocation.Call
Create with a given supplier.
classes() - Method in interface io.avaje.inject.spi.AvajeModule
Return public classes of the beans that would be registered by this module.
classes() - Method in interface io.avaje.inject.spi.Module
Deprecated.
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.
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.PropertyRequiresPlugin
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.
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
DependencyMeta - Annotation Type in io.avaje.inject.spi
Hold bean dependency metadata intended for internal use by code generation (Java annotation processing).
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.AvajeModule
Empty array of classes.
EMPTY_CLASSES - Static variable in interface io.avaje.inject.spi.InjectPlugin
Empty array of classes.
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.PropertyRequiresPlugin
Return true if the property is equal to the given value.
Event<T> - Class in io.avaje.inject.event
Allows the application to fire events of a particular type.
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 this dependency as an external bean 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.
fallback(Consumer<Throwable>) - Method in class io.avaje.inject.aop.Invocation.Run
Register a fallback method which can be used to recover from an exception while intercepting an invocation
fallback(Function<Throwable, T>) - Method in class io.avaje.inject.aop.Invocation.Call
register a fallback method which can be used to recover from an exception while intercepting an invocation
finalResult() - Method in class io.avaje.inject.aop.Invocation.Base
Return the final invocation result.
finalResult() - Method in class io.avaje.inject.aop.Invocation.Call
 
fire(T) - Method in class io.avaje.inject.event.Event
Fires an event and notifies observers with the qualifier set for this instance.
fire(T, String) - Method in class io.avaje.inject.event.Event
Fires an event with the specified qualifier and notifies observers.
fireAsync(T) - Method in class io.avaje.inject.event.Event
Fires an event to asynchronous observers with the qualifier set for this instance.
fireAsync(T, String) - Method in class io.avaje.inject.event.Event
Fires an event with the specified qualifier and notifies asynchronous observers
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 generics declaration, 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.PropertyRequiresPlugin
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.
hasRecoveryMethod() - Method in class io.avaje.inject.aop.Invocation.Call
 
hasRecoveryMethod() - Method in interface io.avaje.inject.aop.Invocation
Return whether this invocation has a registered recovery method
hasRecoveryMethod() - Method in class io.avaje.inject.aop.Invocation.Run
 

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
InjectModule - Annotation Type in io.avaje.inject
Used to explicitly specify if it depends on externally provided beans or provides.
InjectPlugin - Interface in io.avaje.inject.spi
A Plugin that can be applied when creating a bean scope.
instance() - Method in class io.avaje.inject.aop.Invocation.Base
 
instance() - Method in interface io.avaje.inject.aop.Invocation
Return the 'this' instance of the invocation.
interceptor(Method, T) - Method in interface io.avaje.inject.aop.AspectProvider
Return the method interceptor to use for the given method and aspect annotation.
interfaces() - Method in class io.avaje.inject.spi.SuppliedBean
Return the interfaces to additionally register along with the type.
Invocation - Interface in io.avaje.inject.aop
Method invocation using in MethodInterceptor.invoke(Invocation) for Aspects.
Invocation.Base<T> - Class in io.avaje.inject.aop
Invocation base type for both callable and runnable methods.
Invocation.Call<T> - Class in io.avaje.inject.aop
Callable based Invocation with checked exceptions.
Invocation.CheckedRunnable - Interface in io.avaje.inject.aop
Runnable with checked exceptions.
Invocation.CheckedSupplier<T> - Interface in io.avaje.inject.aop
Callable with checked exceptions.
Invocation.Run - Class in io.avaje.inject.aop
Runnable based Invocation.
InvocationException - Exception Class in io.avaje.inject.aop
Exception occurring during method interception.
InvocationException(String) - Constructor for exception class io.avaje.inject.aop.InvocationException
Create with a given cause.
InvocationException(String, Throwable) - Constructor for exception class io.avaje.inject.aop.InvocationException
Create with a given message and cause.
InvocationException(Throwable) - Constructor for exception class io.avaje.inject.aop.InvocationException
Create with a given cause.
invoke() - Method in class io.avaje.inject.aop.Invocation.Call
 
invoke() - Method in interface io.avaje.inject.aop.Invocation.CheckedRunnable
Invoke the method.
invoke() - Method in interface io.avaje.inject.aop.Invocation.CheckedSupplier
Invoke the method returning the result.
invoke() - Method in interface io.avaje.inject.aop.Invocation
Invoke the underlying method returning the result.
invoke() - Method in class io.avaje.inject.aop.Invocation.Run
 
invoke(Invocation) - Method in interface io.avaje.inject.aop.MethodInterceptor
Implementation can perform before and after invocation logic.
invokeRecoveryMethod(Throwable) - Method in class io.avaje.inject.aop.Invocation.Call
 
invokeRecoveryMethod(Throwable) - Method in interface io.avaje.inject.aop.Invocation
Invoke the recovery method associated for this invocation and return the result.
invokeRecoveryMethod(Throwable) - Method in class io.avaje.inject.aop.Invocation.Run
 
invokeUnchecked() - Method in interface io.avaje.inject.aop.Invocation
Invoke the underlying method returning the result.
io.avaje.inject - module io.avaje.inject
 
io.avaje.inject - package io.avaje.inject
Avaje Inject API - see BeanScope.
io.avaje.inject.aop - package io.avaje.inject.aop
Support for AOP Aspects.
io.avaje.inject.event - package io.avaje.inject.event
Event support.
io.avaje.inject.spi - package io.avaje.inject.spi
Building bean scope objects expected to only be used by generated code.
isAddBeanFor(Type...) - Method in interface io.avaje.inject.spi.Builder
Return true if the bean should be created and registered with the context.
isAddBeanFor(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.

L

Lazy - Annotation Type in io.avaje.inject
Marks a Singleton, Component or Factory method beans to be initialised lazily.
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 interface sorting by priority.
listByPriority(Class<T>, Class<? extends Annotation>) - Method in interface io.avaje.inject.BeanScope
Return the beans that implement the interface sorting by the priority annotation used.

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() - Method in class io.avaje.inject.aop.Invocation.Base
 
method() - Method in interface io.avaje.inject.aop.Invocation
Return the method being called for this invocation.
method() - Element in annotation type io.avaje.inject.spi.DependencyMeta
The bean factory method (for @Bean annotated methods).
MethodInterceptor - Interface in io.avaje.inject.aop
Provides method interception such that logic can be provided both before and after method invocation.
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.PropertyRequiresPlugin
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.
Module - Interface in io.avaje.inject.spi
Deprecated, for removal: This API element is subject to removal in a future version.
migrate to AvajeModule
Module.Custom - Interface in io.avaje.inject.spi
Deprecated.
Marker for custom scoped modules.
ModuleOrdering - Interface in io.avaje.inject.spi
Determines 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>, PropertyRequiresPlugin, 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.PropertyRequiresPlugin
Return true if the property is not defined or not equal to the given value.

O

Observer<T> - Class in io.avaje.inject.event
Container class for an observer method and its information
Observer(int, boolean, Consumer<T>, String) - Constructor for class io.avaje.inject.event.Observer
 
ObserverManager - Interface in io.avaje.inject.event
Manages all Observer instances in the BeanScope.
observersByType(Type) - Method in interface io.avaje.inject.event.ObserverManager
Retrieves a list of all Observers registered by the given type
Observes - Annotation Type in io.avaje.inject.event
Identifies the event parameter of an observer method.
ObservesAsync - Annotation Type in io.avaje.inject.event
Identifies the event parameter of an asynchronous observer method.
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.
ordering() - Element in annotation type io.avaje.inject.aop.Aspect.Import
Specify the priority of the imported aspect.
ordering() - Element in annotation type io.avaje.inject.aop.Aspect
Specify the priority ordering when multiple aspects are on a method.
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.
place() - Element in annotation type io.avaje.inject.aop.AOPFallback
Distinguish what method to fallback when multiple methods share the same name.
Plugin - Interface in io.avaje.inject.spi
Deprecated, for removal: This API element is subject to removal in a future version.
migrate to InjectPlugin
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 being 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 priority indicating if the bean is Supplied Primary, Normal or Secondary.
priority() - Method in class io.avaje.inject.event.Observer
Return the priority.
priority() - Element in annotation type io.avaje.inject.event.Observes
The priority of the observe method
priority() - Element in annotation type io.avaje.inject.event.ObservesAsync
The priority of the observe method
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 in what order they should be returned via @BeanScope.listByPriority(Class).
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.
propertyPlugin() - Method in interface io.avaje.inject.BeanScopeBuilder
Return the PropertyPlugin used for this scope.
propertyPlugin(PropertyRequiresPlugin) - Method in interface io.avaje.inject.BeanScopeBuilder
Set the PropertyPlugin used for this scope.
PropertyRequiresPlugin - Interface in io.avaje.inject.spi
Plugin interface which contains the application properties used for wiring.
Prototype - Annotation Type in io.avaje.inject
Specify a bean that has prototype scope.
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.
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.
provides() - Element in annotation type io.avaje.inject.InjectModule
Explicitly define features that are provided by this module and required by other modules.
provides() - Method in interface io.avaje.inject.spi.AvajeModule
Return the set of types this module explicitly provides to other modules.
provides() - Element in annotation type io.avaje.inject.spi.DependencyMeta
The interfaces the bean implements.
provides() - Method in interface io.avaje.inject.spi.InjectPlugin
Return the classes that the plugin provides.
provides() - Method in interface io.avaje.inject.spi.Module
Deprecated.
Return the set of types this module explicitly provides to other modules.
provides() - Method in interface io.avaje.inject.spi.Plugin
Deprecated.
Return the classes that the plugin provides.
providesAspect() - Element in annotation type io.avaje.inject.spi.DependencyMeta
The aspect this component provides.
providesAspects() - Method in interface io.avaje.inject.spi.InjectPlugin
Return the aspect classes that the plugin provides.
providesAspects() - Method in interface io.avaje.inject.spi.Plugin
Deprecated.
Return the aspect classes that the plugin provides.
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
invalid @link
{@link @Named
} or
invalid @link
{@link @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.
registerObserver(Type, int, boolean, Consumer<T>, String) - Method in interface io.avaje.inject.spi.Builder
Register the observer into the context.
registerObserver(Type, Observer<T>) - Method in interface io.avaje.inject.event.ObserverManager
Registers the given Consumer as an observer.
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
The dependencies that are provided externally or by other modules and that are required when wiring this module.
requires() - Method in interface io.avaje.inject.spi.AvajeModule
Return the types this module needs to be provided externally or via other modules.
requires() - Method in interface io.avaje.inject.spi.Module
Deprecated.
Return the types this module needs to be provided externally or via other modules.
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
 
requiresPackages() - Element in annotation type io.avaje.inject.InjectModule
Dependencies in these packages are expected to be provided by other modules.
requiresPackages() - Method in interface io.avaje.inject.spi.AvajeModule
Return the packages this module needs to be provided via other modules.
requiresPackages() - Method in interface io.avaje.inject.spi.Module
Deprecated.
Return the 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
 
result(Object) - Method in class io.avaje.inject.aop.Invocation.Base
 
result(Object) - Method in interface io.avaje.inject.aop.Invocation
Set the result that will be returned to the caller.
Run(Invocation.CheckedRunnable) - Constructor for class io.avaje.inject.aop.Invocation.Run
Create with a given closure to run.

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).
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.

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.aop.AOPFallback
the name of the target method to recover from.
value() - Element in annotation type io.avaje.inject.aop.Aspect.Import.List
 
value() - Element in annotation type io.avaje.inject.aop.Aspect.Import
Annotation type to import
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.Component.Import
Types to generate DI classes for.
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.

W

with(Object, Method, Object...) - Method in class io.avaje.inject.aop.Invocation.Base
Set the instance, method and arguments for the invocation.
with(Object, Method, Object...) - Method in class io.avaje.inject.aop.Invocation.Call
 
with(Object, Method, Object...) - Method in class io.avaje.inject.aop.Invocation.Run
 
withBean(Class<T>, T) - Method in interface io.avaje.inject.spi.Builder
Register the externally provided bean.
wrap(MethodInterceptor) - Method in class io.avaje.inject.aop.Invocation.Base
Wrap this invocation using a methodInterceptor returning the wrapped call.
wrap(MethodInterceptor) - Method in class io.avaje.inject.aop.Invocation.Call
 
wrap(MethodInterceptor) - Method in class io.avaje.inject.aop.Invocation.Run
 
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|Serialized Form