Package org.nutz.mvc

Examples of org.nutz.mvc.ActionChainMaker


    ViewMaker[] makers = createViewMakers(mainModule);

    /*
     * 创建动作链工厂
     */
    ActionChainMaker maker = createChainMaker(config, mainModule);

    /*
     * 创建主模块的配置信息
     */
    ActionInfo mainInfo = Loadings.createInfo(mainModule);
View Full Code Here


    return new UrlMappingImpl();
  }

  private ActionChainMaker createChainMaker(NutConfig config, Class<?> mainModule) {
    ChainBy ann = mainModule.getAnnotation(ChainBy.class);
    ActionChainMaker maker = null == ann ? new NutActionChainMaker(new String[]{})
                      : Loadings.evalObj(config, ann.type(), ann.args());
    if (log.isDebugEnabled())
      log.debugf("@ChainBy(%s)", maker.getClass().getName());
    return maker;
  }
View Full Code Here

        ViewMaker[] makers = createViewMakers(mainModule);

        /*
         * 创建动作链工厂
         */
        ActionChainMaker maker = createChainMaker(config, mainModule);

        /*
         * 创建主模块的配置信息
         */
        ActionInfo mainInfo = Loadings.createInfo(mainModule);
View Full Code Here

        return new UrlMappingImpl();
    }

    private ActionChainMaker createChainMaker(NutConfig config, Class<?> mainModule) {
        ChainBy ann = mainModule.getAnnotation(ChainBy.class);
        ActionChainMaker maker = null == ann ? new NutActionChainMaker(new String[]{})
                                            : Loadings.evalObj(config, ann.type(), ann.args());
        if (log.isDebugEnabled())
            log.debugf("@ChainBy(%s)", maker.getClass().getName());
        return maker;
    }
View Full Code Here

        ViewMaker[] makers = createViewMakers(mainModule, ioc);

        /*
         * 创建动作链工厂
         */
        ActionChainMaker maker = createChainMaker(config, mainModule);

        /*
         * 创建主模块的配置信息
         */
        ActionInfo mainInfo = Loadings.createInfo(mainModule);
View Full Code Here

        return new UrlMappingImpl();
    }

    protected ActionChainMaker createChainMaker(NutConfig config, Class<?> mainModule) {
        ChainBy ann = mainModule.getAnnotation(ChainBy.class);
        ActionChainMaker maker = null == ann ? new NutActionChainMaker(new String[]{})
                                            : Loadings.evalObj(config, ann.type(), ann.args());
        if (log.isDebugEnabled())
            log.debugf("@ChainBy(%s)", maker.getClass().getName());
        return maker;
    }
View Full Code Here

TOP

Related Classes of org.nutz.mvc.ActionChainMaker

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.