Package io.micronaut.context
Interface ConfigurableBeanContext
- All Superinterfaces:
- AnnotationMetadataResolver,- ApplicationEventPublisher<Object>,- AttributeHolder,- AutoCloseable,- BeanContext,- BeanDefinitionRegistry,- BeanLocator,- Closeable,- ConversionServiceProvider,- ExecutionHandleLocator,- LifeCycle<BeanContext>,- MutableAttributeHolder
- All Known Subinterfaces:
- ConfigurableApplicationContext
- All Known Implementing Classes:
- DefaultApplicationContext,- DefaultBeanContext
Extends 
BeanContext interface and allows the bean context to be configured but not started.- Since:
- 4.5.0
- 
Field SummaryFields inherited from interface io.micronaut.core.annotation.AnnotationMetadataResolverDEFAULTFields inherited from interface io.micronaut.context.event.ApplicationEventPublisherNO_OPFields inherited from interface io.micronaut.context.ExecutionHandleLocatorEMPTY
- 
Method SummaryModifier and TypeMethodDescriptionvoidConfigures the bean context loading all bean definitions required to perform successful startup without starting the context itself.Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataResolverresolveMetadata, resolveMetadataMethods inherited from interface io.micronaut.context.event.ApplicationEventPublisherisEmpty, publishEvent, publishEventAsyncMethods inherited from interface io.micronaut.core.attr.AttributeHoldergetAttribute, getAttributeMethods inherited from interface io.micronaut.context.BeanContextcreateBean, createBean, createBean, createBean, createBean, createBean, destroyBean, destroyBean, destroyBean, destroyBean, destroyBean, getBeanValidator, getClassLoader, getContextConfiguration, getEventPublisher, inject, refreshBean, refreshBean, registerSingleton, registerSingleton, registerSingleton, registerSingleton, registerSingletonMethods inherited from interface io.micronaut.context.BeanDefinitionRegistrycontainsBean, containsBean, containsBean, containsBean, findBeanConfiguration, findBeanDefinition, findBeanDefinition, findBeanDefinition, findBeanDefinition, findBeanDefinition, findBeanRegistration, findProxyBeanDefinition, findProxyBeanDefinition, findProxyTargetBeanDefinition, findProxyTargetBeanDefinition, findProxyTargetBeanDefinition, getActiveBeanRegistrations, getActiveBeanRegistrations, getAllBeanDefinitions, getBeanDefinition, getBeanDefinition, getBeanDefinition, getBeanDefinition, getBeanDefinitionReferences, getBeanDefinitions, getBeanDefinitions, getBeanDefinitions, getBeanDefinitions, getBeanDefinitions, getBeanRegistration, getBeanRegistration, getBeanRegistration, getBeanRegistrations, getBeanRegistrations, getBeanRegistrations, getDisabledBeans, getProxyTargetBeanDefinition, getProxyTargetBeanDefinition, registerBeanConfiguration, registerBeanDefinitionMethods inherited from interface io.micronaut.context.BeanLocatorfindBean, findBean, findBean, findBean, findOrInstantiateBean, getBean, getBean, getBean, getBean, getBean, getBeansOfType, getBeansOfType, getBeansOfType, getBeansOfType, getProvider, getProvider, getProvider, getProvider, getProxyTargetBean, getProxyTargetBean, mapOfType, mapOfType, mapOfType, mapOfType, streamOfType, streamOfType, streamOfType, streamOfTypeMethods inherited from interface io.micronaut.core.convert.ConversionServiceProvidergetConversionServiceMethods inherited from interface io.micronaut.context.ExecutionHandleLocatorcreateExecutionHandle, findExecutableMethod, findExecutionHandle, findExecutionHandle, findExecutionHandle, findProxyTargetMethod, findProxyTargetMethod, findProxyTargetMethod, getExecutableMethod, getExecutionHandle, getExecutionHandle, getProxyTargetMethod, getProxyTargetMethod, getProxyTargetMethodMethods inherited from interface io.micronaut.context.LifeCycleclose, isRunning, refresh, start, stopMethods inherited from interface io.micronaut.core.attr.MutableAttributeHoldergetAttributes, removeAttribute, setAttribute
- 
Method Details- 
configurevoid configure()Configures the bean context loading all bean definitions required to perform successful startup without starting the context itself.Once called the methods of the BeanDefinitionRegistryinterface will return results allowing inspection of the context without needing to run the context.
 
-