Question from the Spring - Archive test

Is the following code valid? @Configuration public class MyConfiguration { @Bean public MyBean myBean() { return new MyBean(); } }

Medium

Is the default scope of a bean "prototype" ?

Author: Thomas De verdièreStatus: PublishedQuestion passed 8 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!