Package io.avaje.inject
Avaje Inject API - see
SystemContext and BeanContext.-
Interface Summary Interface Description BeanContext Holds beans created by dependency injection. -
Class Summary Class Description BeanContextBuilder Build a bean context with options for shutdown hook and supplying test doubles.BeanEntry<T> A bean entry in the context with priority and optional name.SystemContext Provides a global system wide BeanContext that contains all the bean contexts in the classpath. -
Annotation Types Summary Annotation Type Description Bean Marks methods on a@Factorybean that create dependencies.ContextModule Used to explicitly name a bean context and optionally specify if it depends on other bean contexts.Factory A singleton bean that has methods marked with the@Beanannotation.Primary Identify a bean as being the preferred bean to inject when multiple beans implement the intended interface.Secondary Identify a bean as being the least preferred bean to inject when multiple beans implement the intended interface.