Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A @Bean method is a signal that a class is so complicated that Spring can’t figure out how to create a valid instance after @Import or @ComponentScan. For limiting use, package-private types and methods are better than creating components yourself and reinventing pieces of Spring like @Profile and @Value and @Scope.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: