Java 类org.springframework.boot.autoconfigure.jms.JmsAutoConfiguration 实例源码

项目:qpid-jms-spring-boot    文件:QpidJMSAutoConfigurationTest.java   
private void load(Class<?> config, String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(QpidJMSAutoConfiguration.class, JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    this.context = applicationContext;
}
项目:amqp-10-jms-spring-boot    文件:AMQP10JMSAutoConfigurationTest.java   
private void load(Class<?> config, String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(AMQP10JMSAutoConfiguration.class, JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    this.context = applicationContext;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:HornetQAutoConfigurationTests.java   
private AnnotationConfigApplicationContext doLoad(Class<?> config,
        String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(HornetQAutoConfiguration.class,
            JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    return applicationContext;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ArtemisAutoConfigurationTests.java   
private AnnotationConfigApplicationContext doLoad(Class<?> config,
        String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(ArtemisAutoConfiguration.class,
            JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    return applicationContext;
}
项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ActiveMQAutoConfigurationTests.java   
private AnnotationConfigApplicationContext doLoad(Class<?> config,
        String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(ActiveMQAutoConfiguration.class,
            JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    return applicationContext;
}
项目:spring-boot-concourse    文件:HornetQAutoConfigurationTests.java   
private AnnotationConfigApplicationContext doLoad(Class<?> config,
        String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(HornetQAutoConfiguration.class,
            JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    return applicationContext;
}
项目:spring-boot-concourse    文件:ArtemisAutoConfigurationTests.java   
private AnnotationConfigApplicationContext doLoad(Class<?> config,
        String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(ArtemisAutoConfiguration.class,
            JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    return applicationContext;
}
项目:spring-boot-concourse    文件:ActiveMQAutoConfigurationTests.java   
private AnnotationConfigApplicationContext doLoad(Class<?> config,
        String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(ActiveMQAutoConfiguration.class,
            JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    return applicationContext;
}
项目:contestparser    文件:HornetQAutoConfigurationTests.java   
private AnnotationConfigApplicationContext doLoad(Class<?> config,
        String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(HornetQAutoConfiguration.class,
            JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    return applicationContext;
}
项目:contestparser    文件:ArtemisAutoConfigurationTests.java   
private AnnotationConfigApplicationContext doLoad(Class<?> config,
        String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(ArtemisAutoConfiguration.class,
            JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    return applicationContext;
}
项目:contestparser    文件:ActiveMQAutoConfigurationTests.java   
private AnnotationConfigApplicationContext doLoad(Class<?> config,
        String... environment) {
    AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
    applicationContext.register(config);
    applicationContext.register(ActiveMQAutoConfiguration.class,
            JmsAutoConfiguration.class);
    EnvironmentTestUtils.addEnvironment(applicationContext, environment);
    applicationContext.refresh();
    return applicationContext;
}