Описание тега spring-bean
A simple JavaBean managed by the Spring IoC container.
A simple JavaBean managed by the Spring IoC container. These beans are created with the configuration metadata that is supplied to the container, for example, in the form of XML <bean/>
definitions or @Bean
annotation. Actually, the BeanFactory
is the main IoC container which instantiates, configures, and manages these beans. These beans typically have associations with each other, and therefore have dependencies between themselves. These dependencies are configured in the configuration files used by the BeanFactory
. Other dependencies that are invisible from the configuration file could be a function of programmatic interactions between beans at run-time.