Examples of addOtherClasses()


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

    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();
     
      System.out.println("启动成功,请使用该路径访问系统:" + BASE_URL);
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.