im trying to load spring beans using XmlWebApplicationContext setConfigLocations method however i keep getting a
BeanIsAbstractException
I know that the bean is abstract, i have it configured this way, so Spring should know not to try instantiate
im using Spring2.0.8.jar with jetspeed2.1.
spring bean:
<bean id="ThreadPool" abstract="true" class="com.sample.ThreadPoolFactoryBean"/>
code:
ctx = appContext;
appContext.refresh();
BeanFactory factory = appContext.getBeanFactory();
String[] beansName = appContext.getBeanFactory()
.getBeanDefinitionNames();
...
map.put(beansName[mnCnt], factory.getBean(beansName[mnCnt]));
Anyone any ideas.