Package org.springframework.yarn.integration.ip.mind

Examples of org.springframework.yarn.integration.ip.mind.TestService


    Class<?> clazz = TestUtils.readField("serviceImpl", fb);
    assertThat(clazz.getCanonicalName(), is("org.springframework.yarn.integration.ip.mind.TestService"));
    assertThat(TestUtils.readField("messageChannel", fb), instanceOf(DirectChannel.class));
    assertThat(TestUtils.readField("appmasterService", fb), instanceOf(TestService.class));

    TestService service = (TestService) ctx.getBean("yarnAmservice");
    assertNotNull(service);
    assertThat(TestUtils.readField("messageChannel", service), instanceOf(DirectChannel.class));

    testSocketSupport(service, fb);
  }
View Full Code Here


    Class<?> clazz = TestUtils.readField("serviceImpl", fb);
    assertThat(clazz.getCanonicalName(), is("org.springframework.yarn.integration.ip.mind.TestService"));
    assertThat(TestUtils.readField("messageChannel", fb), instanceOf(DirectChannel.class));
    assertThat(TestUtils.readField("appmasterService", fb), instanceOf(TestService.class));

    TestService service = (TestService) ctx.getBean("yarnAmservice2");
    assertNotNull(service);
    assertThat(TestUtils.readField("messageChannel", service), instanceOf(DirectChannel.class));

    testSocketSupport(service, fb);
  }
View Full Code Here

    assertThat(clazz, nullValue());
    assertThat(TestUtils.readField("serviceRef", fb), instanceOf(TestService.class));
    assertThat(TestUtils.readField("messageChannel", fb), instanceOf(DirectChannel.class));
    assertThat(TestUtils.readField("appmasterService", fb), instanceOf(TestService.class));

    TestService service = (TestService) ctx.getBean("yarnAmservice3");
    assertNotNull(service);
    assertThat(TestUtils.readField("messageChannel", service), instanceOf(DirectChannel.class));

    testSocketSupport(service, fb);
  }
View Full Code Here

TOP

Related Classes of org.springframework.yarn.integration.ip.mind.TestService

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.