News

If you want Spring to manage a JavaBean whose code you don’t control, you create a method that returns an instance of the JavaBean in question and then decorate that method with a @Component ...