Package org.springframework.osgi.context.support

Examples of org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext


    }

    @Override
    protected CamelContext createCamelContext() throws Exception {
        setThreadContextClassLoader();
        applicationContext = new OsgiBundleXmlApplicationContext(
                new String[]{"org/apache/camel/itest/osgi/krati/springKratiRouteContext.xml"});
        if (bundleContext != null) {
            applicationContext.setBundleContext(bundleContext);
            applicationContext.refresh();
        }
View Full Code Here


@RunWith(JUnit4TestRunner.class)
public class DozerTest extends OSGiIntegrationSpringTestSupport {

    @Override
    protected OsgiBundleXmlApplicationContext createApplicationContext() {
        return new OsgiBundleXmlApplicationContext(new String[]{"org/apache/camel/itest/osgi/dozer/CamelContext.xml"});
    }
View Full Code Here

@Ignore("Maven barfs with: Duplicate test set 'org.apache.camel.itest.osgi.ftp.FtpConsumeTest'")
public class FtpConsumeTest extends OSGiIntegrationSpringTestSupport {

    @Override
    protected OsgiBundleXmlApplicationContext createApplicationContext() {
        return new OsgiBundleXmlApplicationContext(new String[]{"org/apache/camel/itest/osgi/ftp/FtpConsumeTest.xml"});
    }
View Full Code Here

@Ignore("Not fully implemented, see TODO")
public class FtpTest extends OSGiIntegrationSpringTestSupport {

    @Override
    protected OsgiBundleXmlApplicationContext createApplicationContext() {
        return new OsgiBundleXmlApplicationContext(new String[]{"org/apache/camel/itest/osgi/ftp/CamelContext.xml"});
    }
View Full Code Here

        return options;
    }
   
    @Override
    protected OsgiBundleXmlApplicationContext createApplicationContext() {
        return new OsgiBundleXmlApplicationContext(new String[]{"org/apache/camel/itest/osgi/servlet/ServletServiceContext.xml",
                                                                "org/apache/camel/itest/osgi/servlet/CamelServletWithServletServiceContext.xml"});
    }
View Full Code Here

        return options;
    }
   
    @Override
    protected OsgiBundleXmlApplicationContext createApplicationContext() {
        return new OsgiBundleXmlApplicationContext(new String[] {CONTEXT_PATH});
    }
View Full Code Here

@RunWith(JUnit4TestRunner.class)
public class CacheReplicationTest extends OSGiIntegrationSpringTestSupport {

    @Override
    protected OsgiBundleXmlApplicationContext createApplicationContext() {
        return new OsgiBundleXmlApplicationContext(new String[]{
            "org/apache/camel/itest/osgi/cache/replication/JMSReplicationCamelContext.xml"});
    }
View Full Code Here

@RunWith(JUnit4TestRunner.class)
public class JaxbFallbackConverterSpringTest extends OSGiIntegrationSpringTestSupport {

    @Override
    protected OsgiBundleXmlApplicationContext createApplicationContext() {
        return new OsgiBundleXmlApplicationContext(new String[]{"org/apache/camel/itest/osgi/jaxb/CamelContext.xml"});
    }
View Full Code Here

@Ignore("PaxExam hang on shutdown of this test")
public class RestletDomainServiceTest extends OSGiIntegrationSpringTestSupport {

    @Override
    protected OsgiBundleXmlApplicationContext createApplicationContext() {
        return new OsgiBundleXmlApplicationContext(new String[]{"org/apache/camel/itest/osgi/restlet/example/camel-context.xml"});
    }
View Full Code Here

    @EndpointInject(uri = "mock:result-s3")
    private MockEndpoint result;
   
    @Override
    protected OsgiBundleXmlApplicationContext createApplicationContext() {
        return new OsgiBundleXmlApplicationContext(new String[]{"org/apache/camel/itest/osgi/aws/CamelContext.xml"});
    }
View Full Code Here

TOP

Related Classes of org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext

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.