Package org.moyrax.javascript

Examples of org.moyrax.javascript.ScriptComponentScanner


  /**
   * Lookups the configured packages and loads the classes that will be
   * available in the client-side scripts.
   */
  private void loadClientComponents() {
    ScriptComponentScanner scanner = new ScriptComponentScanner(
        context.getLookupPackages(), context.getClassLoader());

    scanner.scan();

    for (Class<?> clazz : scanner.getClasses()) {
      engine.registerClass(clazz, this.context.getClassLoader());
    }
  }
View Full Code Here

TOP

Related Classes of org.moyrax.javascript.ScriptComponentScanner

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.