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 aBeanContextand 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 theApplicationContextlife 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 findBeanDefinitioninstances.BeanLocator Core interface for locating and discoveringBeaninstances.BeanProvider<T> A BeanProvider is a richer replacement for theProviderinterface 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 returnExecutionHandleinstances for beans.InitializableBeanContext A marker interface forBeanContextimplementations 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 viaBeanDefinitionRegistryat runtime.RuntimeBeanDefinition.Builder<B> A builder for constructingRuntimeBeanDefinitioninstances. -
Class Summary Class Description AbstractBeanConfiguration An abstract implementation of theBeanConfigurationmethod.AbstractBeanDefinition<T> Default implementation of theBeanDefinitioninterface.AbstractBeanDefinitionReference An uninitialized and unloaded component definition with basic information available regarding its requirements.AbstractBeanResolutionContext Default implementation of theBeanResolutionContextinterface.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 generatedExecutableMethodclasses to implement.AbstractExecutableMethodsDefinition<T> Abstract base class for forExecutableMethodsDefinition.AbstractExecutableMethodsDefinition.MethodReference Internal class representing method's metadata.AbstractInitializableBeanDefinition<T> Default implementation of theBeanDefinitioninterface.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 implementsLocalizedMessageSourceand leveragesLocaleResolverAPI.AbstractMessageSource AbstractMessageSourceimplementation that provides basic message interpolation.AbstractParametrizedBeanDefinition<T> ABeanDefinitionthat is aParametrizedBeanFactory.BeanRegistration<T> A bean registration is an association between aBeanDefinitionand a created bean, typically aSingleton.DefaultApplicationContext Creates a default implementation of theApplicationContextinterface.DefaultApplicationContextBuilder Implementation ofApplicationContextBuilder.DefaultBeanContext The default context implementations.DefaultBeanResolutionContext Default implementation ofBeanResolutionContext.DefaultCustomScopeRegistry Default implementation of theCustomScopeRegistryinterface.MessageSourceUtils Utility class used byMessageSourceto create variables maps.ProviderUtils Helper methods for dealing withProvider.RequiresCondition StaticMessageSource A static mutable message source.