Package org.codehaus.xfire.spring

Source Code of org.codehaus.xfire.spring.XmlBeansFactoryTest

package org.codehaus.xfire.spring;

/**
* @author Arjen Poutsma
*/

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class XmlBeansFactoryTest
        extends AbstractXFireSpringTest
{
    public void testServiceFactory()
            throws Exception
    {
        ApplicationContext appContext = getContext();
       
        appContext.getBean("xfire.xmlbeansServiceFactory");
    }

    protected ApplicationContext createContext()
    {
        return new ClassPathXmlApplicationContext(new String[]{
                "/org/codehaus/xfire/spring/xfire.xml",
                "/org/codehaus/xfire/spring/xfireXmlBeans.xml"});
    }
}
TOP

Related Classes of org.codehaus.xfire.spring.XmlBeansFactoryTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.