标签:voc model component efault add mes ret for 生成
package cn.javass.themes.smvcsm.actions;
import cn.javass.xgen.genconf.vo.ModuleConfModel;
import cn.javass.xgen.geninvocation.BaseGenAction;
import cn.javass.xgen.geninvocation.decorator.GenComponent;
public class GenAddPageAction extends BaseGenAction {
public Object initObject() {
return "";
}
public Object execute(ModuleConfModel moduleConf, Object obj) {
return obj;
}
public Object executeDecorators(ModuleConfModel moduleConf, Object obj,
GenComponent gc) {
return gc.operation(moduleConf, "GenAddPage", obj);
}
public GenComponent beforeAction(ModuleConfModel moduleConf) {
return super.defaultBeforeAction(moduleConf);
}
}
Java高级架构师(一)第20节:X-gen生成需要的Action
标签:voc model component efault add mes ret for 生成
原文地址:https://www.cnblogs.com/sunrunzhi/p/10119538.html