Code example for XmlBeanFactory

Methods: getBean

0
                "oracle.jms.AQjmsQueueConnectionFactory", 
                bean.getClass().getName());
    } 
 
    public void testAqConnectionFactoryDefinitionWithTopicType() throws Exception {
        Object bean = this.beanFactory.getBean("aqTopicConnectionFactory");
        assertEquals("not the correct class",
                "oracle.jms.AQjmsTopicConnectionFactory", 
                bean.getClass().getName());
    } 
}