Package org.apache.xbean.spring.context

Examples of org.apache.xbean.spring.context.ClassPathXmlApplicationContext


public class JMSExampleTest
    extends AbstractXFireSpringTest
{
    protected ApplicationContext createContext()
    {
        return new ClassPathXmlApplicationContext(new String[] {
                "/org/codehaus/xfire/transport/jms/example/jms.xml",
                "/org/codehaus/xfire/spring/xfire.xml" })
    }
View Full Code Here


public class JMSQueueExampleTest
    extends AbstractXFireSpringTest
{
    protected ApplicationContext createContext()
    {
        return new ClassPathXmlApplicationContext(new String[] {
                "/org/codehaus/xfire/transport/jms/example/jms-queue.xml",
                "/org/codehaus/xfire/spring/xfire.xml" })
    }
View Full Code Here

public class JMSTopicExampleTest
    extends AbstractXFireSpringTest
{
    protected ApplicationContext createContext()
    {
        return new ClassPathXmlApplicationContext(new String[] {
                "/org/codehaus/xfire/transport/jms/example/jms-topic.xml",
                "/org/codehaus/xfire/spring/xfire.xml" })
    }
View Full Code Here

    extends AbstractXFireSpringTest
{
    protected ApplicationContext createContext()
    {
        return
            new ClassPathXmlApplicationContext(new String[] {
                "/org/codehaus/xfire/spring/examples/customType.xml",
                "/org/codehaus/xfire/spring/xfire.xml" });
    }
View Full Code Here

    extends TestCase
{
    public void testLoading()
        throws Exception
    {
        ClassPathXmlApplicationContext context =
            new ClassPathXmlApplicationContext(new String[] {
                "/org/codehaus/xfire/spring/examples/simple.xml",
                "/org/codehaus/xfire/spring/xfire.xml" });

        ServiceRegistry reg = (ServiceRegistry) context.getBean("xfire.serviceRegistry");
        assertTrue(reg.hasService("Echo"));
    }
View Full Code Here

    }
      
    public void testConfigLoaderWithParentContext() throws Exception
    {
      ServletContext servletCtx = new MockServletContext();
      ClassPathXmlApplicationContext appCtx = new ClassPathXmlApplicationContext(new String[] {"org/codehaus/xfire/spring/xfire.xml"});

        XFireConfigLoader configLoader = new XFireConfigLoader();
        XFire xfire = configLoader.loadConfig("META-INF/xfire/sservices.xml", appCtx);

        doAssertions(xfire);
View Full Code Here

        assertTrue(serviceBean.getInvoker() instanceof ObjectInvoker);
    }
   
    protected ApplicationContext createContext()
    {
        return new ClassPathXmlApplicationContext(new String[] {
                "org/codehaus/xfire/spring/xfire.xml", "META-INF/xfire/sservices.xml" });
    }
View Full Code Here

        assertNull(opInfo);
    }
   
    protected ApplicationContext createContext()
    {
        return new ClassPathXmlApplicationContext(new String[] {
                "org/codehaus/xfire/spring/xfire.xml", "/org/codehaus/xfire/spring/config/OperationMetadataServices.xml" });
    }
View Full Code Here

        Document wsdl = getWSDLDocument("WeatherService");
    }
   
    protected ApplicationContext createContext()
    {
        return new ClassPathXmlApplicationContext(new String[] {
           "/org/codehaus/xfire/spring/xfire.xml",
           "/META-INF/xfire/services.xml"
        });
    }
View Full Code Here

        return prop;
    }

    @Override
    protected AbstractApplicationContext createApplicationContext() {
        return new ClassPathXmlApplicationContext("org/apache/camel/itest/restlet/example/SpringRestletGroovyIssueTest.xml");
    }
View Full Code Here

TOP

Related Classes of org.apache.xbean.spring.context.ClassPathXmlApplicationContext

Copyright © 2018 www.massapicom. 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.