类 BeetlGroupUtilConfiguration
java.lang.Object
org.beetl.ext.spring.AbstractGroupTemplateConfig
org.beetl.ext.spring.BeetlGroupUtilConfiguration
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.web.context.ServletContextAware
public class BeetlGroupUtilConfiguration
extends AbstractGroupTemplateConfig
implements org.springframework.web.context.ServletContextAware
<bean id="beetlConfig" class="org.beetl.ext.spring.BeetlGroupUtilConfiguration" init-method="init" > </bean > <bean id="viewResolver" class="org.beetl.ext.spring.BeetlSpringViewResolver"> <property name="contentType" value="text/html;charset=UTF-8"></property> </bean>beetl 在spring mvc 中的配置 用户继承此类,并实现 initOther方法,以注册自己的函数,标签等
- 作者:
- xiandafu , Chen Rui
-
字段概要
字段修饰符和类型字段说明protected org.springframework.core.io.Resource配置文件地址protected Properties配置属性protected org.beetl.core.ErrorHandler异常处理器protected org.beetl.core.GroupTemplateprotected org.beetl.core.ResourceLoaderBeetl资源加载器,如果未指定,会自动依据ApplicationContext和配置文件识别protected String共享变量protected String -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.beetl.core.GroupTemplatevoidinit()protected voidvoidsetConfigFileResource(org.springframework.core.io.Resource configFileResource) 配置文件地址voidsetConfigProperties(Properties configProperties) 配置属性voidsetErrorHandler(org.beetl.core.ErrorHandler errorHandler) 异常处理器voidsetResourceLoader(org.beetl.core.ResourceLoader resourceLoader) Beetl资源加载器,如果未指定,会自动依据ApplicationContext和配置文件识别voidvoidsetServletContext(javax.servlet.ServletContext sc) voidsetSharedVars(Map<String, Object> sharedVars) 共享参数从类继承的方法 org.beetl.ext.spring.AbstractGroupTemplateConfig
config, setFormats, setFunctionPackages, setFunctions, setTagFactorys, setTypeFormats, setVirtualAttributeEvals, setVirtualClassAttributes
-
字段详细资料
-
groupTemplate
protected org.beetl.core.GroupTemplate groupTemplate -
root
-
webPath
-
configProperties
配置属性 -
configFileResource
protected org.springframework.core.io.Resource configFileResource配置文件地址 -
resourceLoader
protected org.beetl.core.ResourceLoader resourceLoaderBeetl资源加载器,如果未指定,会自动依据ApplicationContext和配置文件识别 -
errorHandler
protected org.beetl.core.ErrorHandler errorHandler异常处理器
-
-
构造器详细资料
-
BeetlGroupUtilConfiguration
public BeetlGroupUtilConfiguration()
-
-
方法详细资料
-
init
public void init() -
setConfigProperties
配置属性 -
setConfigFileResource
public void setConfigFileResource(org.springframework.core.io.Resource configFileResource) 配置文件地址 -
setResourceLoader
public void setResourceLoader(org.beetl.core.ResourceLoader resourceLoader) Beetl资源加载器,如果未指定,会自动依据ApplicationContext和配置文件识别 -
setErrorHandler
public void setErrorHandler(org.beetl.core.ErrorHandler errorHandler) 异常处理器 -
setServletContext
public void setServletContext(javax.servlet.ServletContext sc) - 指定者:
setServletContext在接口中org.springframework.web.context.ServletContextAware
-
initOther
protected void initOther() -
getGroupTemplate
public org.beetl.core.GroupTemplate getGroupTemplate() -
setRoot
-