org.springframework.shell.Bootstrap.main()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(61)

本文整理了Java中org.springframework.shell.Bootstrap.main()方法的一些代码示例,展示了Bootstrap.main()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bootstrap.main()方法的具体详情如下:
包路径:org.springframework.shell.Bootstrap
类名称:Bootstrap
方法名:main

Bootstrap.main介绍

暂无

代码示例

代码示例来源:origin: uber/hudi

/**
  * Main class that delegates to Spring Shell's Bootstrap class in order to simplify debugging inside an IDE
  */
 public static void main(String[] args) throws IOException {
  Bootstrap.main(args);
 }
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

public static void main(String[] args) throws Exception {
    Bootstrap.main(args);
  }
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

public static void main(String[] args) throws Exception {
    Bootstrap.main(args);
  }
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

public static void main(String[] args) throws Exception {
    Bootstrap.main(args);
  }
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

public static void main(String[] args) throws Exception {
    Bootstrap.main(args);
  }
}

代码示例来源:origin: jamespan/pdf-smart-crop

public static void main(String[] args) throws IOException {
    Bootstrap.main(args);
  }
}

代码示例来源:origin: Stratio/Decision

public static void main(String[] args) throws IOException {
  Bootstrap.main(args);
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

/**
   * Set Hazelcast logging type and let
   * Spring do the rest.
   *
   * @param args from the command line
   */
  public static void main(String[] args) throws Exception {
    System.setProperty("hazelcast.logging.type", "slf4j");
    Bootstrap.main(args);
  }
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

/**
   * Start Spring. Indirectly, a Hazelcast server instance is created in
   * this JVM by {@link com.hazelcast.samples.spi.ApplicationConfig ApplicationConfig}.
   *
   * @param args From command line
   */
  public static void main(String[] args) throws Exception {
    System.setProperty("hazelcast.logging.type", "slf4j");
    Bootstrap.main(args);
  }
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

/**
 * <p>Set Hazelcast logging type and let
 * Spring do the rest.
 * </p>
 *
 * @param args From command line
 */
public static void main(String[] args) throws Exception {
  System.setProperty("hazelcast.logging.type", "slf4j");
  Bootstrap.main(args);
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

/**
 * <P>
 * As not using {@code SpringApplication.run()}, need to set logging type
 * manually.
 * </P>
 */
public static void main(String[] args) throws Exception {
  System.setProperty("hazelcast.logging.type", "slf4j");
  Bootstrap.main(args);
}

代码示例来源:origin: hazelcast/hazelcast-jet-demos

public static void main(String[] args) throws Exception {
    System.setProperty("hazelcast.logging.type", "slf4j");
    Bootstrap.main(args);
  }
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

/**
   * Launch Spring Shell, pulling in Spring beans for Hazelcast and added
   * command line interpreter commands.
   *
   * Spring Shell expects XML style config, in
   * {@code classpath:/META-INF/spring/spring-shell-plugin.xml}.
   *
   * @param args From the O/s to pass on
   * @throws Exception Allow failure
   */
  // TODO: Convert to Spring Boot
  public static void main(String[] args) throws Exception {
    System.setProperty("hazelcast.logging.type", "slf4j");
    Bootstrap.main(args);
  }
}

代码示例来源:origin: hazelcast/hazelcast-code-samples

/**
   * Set Hazelcast logging type and JCache control
   * invariants and let Spring do the rest.
   *
   * @param args from the command line
   */
  public static void main(String[] args) throws Exception {
    System.setProperty("hazelcast.jcache.provider.type", "client");
    System.setProperty("hazelcast.logging.type", "slf4j");
    System.setProperty("spring.cache.jcache.provider",
        "com.hazelcast.client.cache.impl.HazelcastClientCachingProvider");
    System.setProperty("spring.cache.type", "jcache");
    Bootstrap.main(args);
  }
}

代码示例来源:origin: CloudSlang/cloud-slang

public static void main(String[] args) throws IOException {
  loadUserProperties();
  System.out.println("Loading..");
  Bootstrap.main(args);
}

相关文章

微信公众号

最新文章

更多