@@ -0,0 +1,15 @@
+package org.hswebframework.web.service.tempalte;
+
+import org.hswebframework.web.entity.tempalte.TemplateEntity;
+/**
+ * 模板渲染器工厂
+ *
+ * @author zhouhao
+ * @since 3.0
+ */
+public interface TemplateRendeFacotry {
+ boolean isSupport(String type);
+ TemplateRender create(TemplateEntity templateEntity);
+}
@@ -36,4 +36,6 @@ public class SimpleTemplateService extends GenericEntityService<TemplateEntity,
entity.setVersion(old.getVersion() + 1);
return super.updateByPk(id, entity);
}