Package com.azaptree.services.spring.application.config

Examples of com.azaptree.services.spring.application.config.SpringApplicationServiceConfig


  /**
   * @param args
   */
  public static void main(final String[] args) throws Exception {
    validate(args);
    final SpringApplicationServiceConfig config = new SpringApplicationServiceConfig(args[0]);
    setSystemProperties(config.getJvmSystemProperties());
    logConfig(config);
    try (final AnnotationConfigApplicationContext applicationContext = config.createAnnotationConfigApplicationContext()) {
      SpringApplicationService.applicationContext = applicationContext;
      shutdownLatch.await();
      getLogger().info("SHUTDOWN SIGNALLED");
    } finally {
      getLogger().info("SHUTDOWN COMPLETE");
View Full Code Here

TOP

Related Classes of com.azaptree.services.spring.application.config.SpringApplicationServiceConfig

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.