Package org.springframework.jca.context

Examples of org.springframework.jca.context.ResourceAdapterApplicationContext


    assertThat(environment.getProperty("pSysProps1"), is("pSysProps1Value"));
  }

  @Test
  public void resourceAdapterApplicationContext() {
    ResourceAdapterApplicationContext ctx = new ResourceAdapterApplicationContext(new SimpleBootstrapContext(new SimpleTaskWorkManager()));

    assertHasStandardEnvironment(ctx);

    registerEnvironmentBeanDefinition(ctx);

    ctx.setEnvironment(prodEnv);
    ctx.refresh();

    assertHasEnvironment(ctx, prodEnv);
    assertEnvironmentBeanRegistered(ctx);
    assertEnvironmentAwareInvoked(ctx, prodEnv);
  }
View Full Code Here

TOP

Related Classes of org.springframework.jca.context.ResourceAdapterApplicationContext

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.