Spring : Spring core tips
This page last changed on Feb 08, 2006 by Kees de Kooter
Add an existing instance of a bean to a spring application context
applicationContext.getBeanFactory().registerSingleton("theBean", theBean);
This page last changed on Feb 08, 2006 by Kees de Kooter
Add an existing instance of a bean to a spring application context
applicationContext.getBeanFactory().registerSingleton("theBean", theBean);