private ConfigurableListableBeanFactory createBeanFactory( String jndiConfigLocation )
{
ConfigurableListableBeanFactory beanFactory =
new XmlBeanFactory( new ClassPathResource( jndiConfigLocation ) );
beanFactory.registerCustomEditor( Class.class,
new ClassEditor( ) );
beanFactory.registerCustomEditor( QName.class,
new QNameEditor( ) );
return beanFactory;
}