@Bean
Jump to navigation
Jump to search
Internal
Overview
The @Bean annotation indicates that the object returned by the methods it annotates are beans and they should be added to the application context. By default, their respective bean IDs will be the same as the names of the methods that define them.