Package io.micronaut.context
This package contains the core classes for starting a
BeanContext
.- Since:
- 1.0
- See Also:
BeanContext
,ApplicationContext
-
Interface Summary Interface Description ApplicationContext An application context extends aBeanContext
and adds the concepts of configuration, environments and runtimes.ApplicationContextBuilder An interface for building an application context.ApplicationContextConfiguration An interface for configuring an application context.ApplicationContextConfigurer An application context configurer is responsible for configuring an application context before the application/function is started.ApplicationContextLifeCycle<T extends ApplicationContextLifeCycle> An interface for classes that manage theApplicationContext
life cycle and shut it down when the class is shutdown.ApplicationContextProvider An interface for classes that provide anApplicationContext
.BeanContext The core BeanContext abstraction which allows for dependency injection of classes annotated withInject
.BeanContextConfiguration Configuration for theBeanContext
.BeanDefinitionRegistry Core bean definition registry interface containing methods to findBeanDefinition
instances.BeanLocator Core interface for locating and discoveringBean
instances.BeanProvider<T> A BeanProvider is a richer replacement for theProvider
interface that provides additional Micronaut specific methods to assist in programmatic bean creation and discovery.BeanResolutionContext Represents the resolution context for a current resolve of a given bean.BeanResolutionContext.Path Represents a path taken to resolve a bean definitions dependencies.BeanResolutionContext.Segment<T> A segment in a path.EnvironmentConfigurable Interface for components configurable by the environment.ExecutionHandleLocator Interface for components that are able to locate and returnExecutionHandle
instances for beans.InitializableBeanContext A marker interface forBeanContext
implementations that can be introspected, that is to say for context which can be created and need to be fully configured, but not necessarily started yet.LifeCycle<T extends LifeCycle> A life cycle interface providing a start method and extending Closeable which provides a close() method for termination.LocalizedMessageSource Retrieve messages for the resolved locale.MessageSource Interface for resolving messages from some source.MessageSource.MessageContext The context to use.Qualifier<T> Used to qualify which bean to select in the case of multiple possible options.RuntimeBeanDefinition<T> Allow the construction for bean definitions programmatically that can be registered viaBeanDefinitionRegistry
at runtime.RuntimeBeanDefinition.Builder<B> A builder for constructingRuntimeBeanDefinition
instances. -
Class Summary Class Description AbstractBeanConfiguration An abstract implementation of theBeanConfiguration
method.AbstractBeanDefinition<T> Default implementation of theBeanDefinition
interface.AbstractBeanDefinitionReference An uninitialized and unloaded component definition with basic information available regarding its requirements.AbstractBeanResolutionContext Default implementation of theBeanResolutionContext
interface.AbstractBeanResolutionContext.AnnotationSegment A segment that represents annotation.AbstractBeanResolutionContext.ConstructorArgumentSegment A segment that represents a method argument.AbstractBeanResolutionContext.ConstructorSegment A segment that represents a constructor.AbstractBeanResolutionContext.FieldSegment A segment that represents a field.AbstractBeanResolutionContext.MethodArgumentSegment A segment that represents a method argument.AbstractBeanResolutionContext.MethodSegment A segment that represents a method.AbstractConstructorInjectionPoint<T> Abstract constructor implementation for bean definitions to implement to create constructors at build time.AbstractExecutableMethod Abstract base class for generatedExecutableMethod
classes to implement.AbstractExecutableMethodsDefinition<T> Abstract base class for forExecutableMethodsDefinition
.AbstractExecutableMethodsDefinition.MethodReference Internal class representing method's metadata.AbstractInitializableBeanDefinition<T> Default implementation of theBeanDefinition
interface.AbstractInitializableBeanDefinition.AnnotationReference The data class containing annotation injection information.AbstractInitializableBeanDefinition.FieldReference The data class containing all filed reference information.AbstractInitializableBeanDefinition.MethodOrFieldReference The shared data class between method and field reference.AbstractInitializableBeanDefinition.MethodReference The data class containing all method reference information.AbstractInitializableBeanDefinitionReference<T> An uninitialized and unloaded component definition with basic information available regarding its requirements.AbstractLocalizedMessageSource<T> Abstract class which implementsLocalizedMessageSource
and leveragesLocaleResolver
API.AbstractMessageSource AbstractMessageSource
implementation that provides basic message interpolation.AbstractParametrizedBeanDefinition<T> ABeanDefinition
that is aParametrizedBeanFactory
.BeanRegistration<T> A bean registration is an association between aBeanDefinition
and a created bean, typically aSingleton
.DefaultApplicationContext Creates a default implementation of theApplicationContext
interface.DefaultApplicationContextBuilder Implementation ofApplicationContextBuilder
.DefaultBeanContext The default context implementations.DefaultBeanResolutionContext Default implementation ofBeanResolutionContext
.DefaultCustomScopeRegistry Default implementation of theCustomScopeRegistry
interface.MessageSourceUtils Utility class used byMessageSource
to create variables maps.ProviderUtils Helper methods for dealing withProvider
.RequiresCondition StaticMessageSource A static mutable message source.