// delegate work to Spring framework...
_factory=new GeronimoBeanFactory();
XmlBeanDefinitionReader xbdr=new XmlBeanDefinitionReader(_factory);
xbdr.setBeanClassLoader(_appClassLoader);
xbdr.loadBeanDefinitions(new ClassPathResource(_configPath.toString(), _appClassLoader));
// install aspects around Spring Bean initialisation...
_factory.addBeanPostProcessor(new BeanPostProcessor() {
public Object postProcessBeforeInitialization(Object bean, String name) throws BeansException {
return beforeInitialization(bean, name);