dimanche 15 mars 2015

What is the default bean id using @Bean in Spring?

if in a Java configuration class of a Spring application I have this bean definition:



@Bean
public MyBean myBean() {
// instantiate and configure MyBean obj
return obj;
}


what is the bean is? Is it MyBean?


Aucun commentaire:

Enregistrer un commentaire