Package org.springframework.yarn.integration

Examples of org.springframework.yarn.integration.IntegrationAppmasterServiceClientFactoryBean


  private ApplicationContext ctx;

  @Test
  public void testDefaults() throws Exception {
    assertTrue(ctx.containsBean("yarnAmserviceClient"));
    IntegrationAppmasterServiceClientFactoryBean fb =
        (IntegrationAppmasterServiceClientFactoryBean) ctx.getBean("&yarnAmserviceClient");
    assertNotNull(fb);

    Class<?> clazz = TestUtils.readField("serviceImpl", fb);
    assertThat(clazz.getCanonicalName(), is("org.springframework.yarn.integration.ip.mind.TestServiceClient"));
View Full Code Here


  }

  @Test
  public void testChannelBeans() throws Exception {
    assertTrue(ctx.containsBean("yarnAmserviceClient2"));
    IntegrationAppmasterServiceClientFactoryBean fb =
        (IntegrationAppmasterServiceClientFactoryBean) ctx.getBean("&yarnAmserviceClient2");
    assertNotNull(fb);

    Class<?> clazz = TestUtils.readField("serviceImpl", fb);
    assertThat(clazz.getCanonicalName(), is("org.springframework.yarn.integration.ip.mind.TestServiceClient"));
View Full Code Here

TOP

Related Classes of org.springframework.yarn.integration.IntegrationAppmasterServiceClientFactoryBean

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.