Package io.micronaut.context
Interface BootstrapContextAccess
Interface for accessing aspects of the main context from the bootstrap context.
- Since:
- 4.6.0
- Author:
- Jonas Konrad
-
Method Summary
-
Method Details
-
getMainRegistry
Get theBeanDefinitionRegistry
of the main context. Note that when the bootstrap context is active, much of this registry will not be initialized yet, so most beans will be missing. However, you can register your own beans.- Returns:
- The registry
-