Examples of addOtherResources()


Examples of com.ketayao.utils.JettyServer.addOtherResources()

    System.setProperty("spring.profiles.active", "production");

    JettyServer jettyServer = new JettyServer(PORT, CONTEXT);
    jettyServer.setTldJarNames(TLD_JAR_NAMES);
   
    jettyServer.addOtherResources(KETA_CUSTOM_COMPONENT_RESOURCES);
    jettyServer.addOtherClasses(KETA_CUSTOM_COMPONENT_CLASSES);
    // 启动Jetty
    try {
      jettyServer.start();
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.