@Bean

From NovaOrdis Knowledge Base
Revision as of 05:17, 10 October 2018 by Ovidiu (talk | contribs) (→‎Internal)
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.