Package org.springframework.yarn.boot.properties

Examples of org.springframework.yarn.boot.properties.SpringYarnContainerProperties


  public void testAllPropertiesSet() {
    SpringApplication app = new SpringApplication(TestConfiguration.class);
    app.setWebEnvironment(false);
    ConfigurableApplicationContext context = app
        .run(new String[] { "--spring.config.name=SpringYarnContainerPropertiesTests" });
    SpringYarnContainerProperties properties = context.getBean(SpringYarnContainerProperties.class);
    assertThat(properties, notNullValue());
    assertThat(properties.isKeepContextAlive(), is(false));
    assertThat(properties.getContainerClass(), is("containerClassFoo"));

    context.close();
  }
View Full Code Here

TOP

Related Classes of org.springframework.yarn.boot.properties.SpringYarnContainerProperties

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.