Class ModuleFactoryGenerator

java.lang.Object
com.google.gwt.core.ext.Generator
cn.mapway.ui.server.mvc.ModuleFactoryGenerator

public class ModuleFactoryGenerator extends com.google.gwt.core.ext.Generator
管理系统模块类,自动搜索IModule类,生成一个代理类,使用此代理类实例化模块,模块的生成是单例模式 +.
Author:
zhangjianshe
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.gwt.core.ext.Generator

    com.google.gwt.core.ext.Generator.RunsLocal
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String typeName)
     
    static void
    main(String[] args)
     

    Methods inherited from class com.google.gwt.core.ext.Generator

    escape, escapeClassName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ModuleFactoryGenerator

      public ModuleFactoryGenerator()
  • Method Details

    • main

      public static void main(String[] args)
    • generate

      public String generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String typeName) throws com.google.gwt.core.ext.UnableToCompleteException
      Specified by:
      generate in class com.google.gwt.core.ext.Generator
      Throws:
      com.google.gwt.core.ext.UnableToCompleteException