![JAR search and dependency download from the Maven repository](/logo.png)
net.ymate.platform.mvc.IMvcConfig Maven / Gradle / Ivy
/*
* Copyright 2007-2107 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.ymate.platform.mvc;
import java.util.Locale;
import java.util.Map;
import net.ymate.platform.plugin.IPluginExtraParser;
/**
*
* IMvcConfig
*
*
* MVC框架初始化配置接口;
*
*
* @author 刘镇([email protected])
* @version 0.0.0
*
*
* 版本号 动作 修改人 修改时间
*
*
*
* 0.0.0
* 创建类
* 刘镇
* 2012-12-6下午7:07:35
*
*
*/
public interface IMvcConfig {
/**
* @return 返回MVC框架事件处理器接口实现类
*/
public IEventHandler getEventHandlerClassImpl();
/**
* @return 返回MVC框架异常错误处理器接口实现类
*/
public IErrorHandler getErrorHandlerClassImpl();
/**
* @return 返回语言区域设置
*/
public Locale getLocale();
/**
* @return 是否开启国际化支持,默认false
*/
public boolean isI18n();
/**
* @return 返回默认编码字符集
*/
public String getCharsetEncoding();
/**
* @return 返回扩展参数设置映射
*/
public Map getExtendParams();
/**
* @return 返回插件主配置文件附加内容分析器
*/
public IPluginExtraParser getPluginExtraParser();
/**
* @return 返回插件主目录路径
*/
public String getPluginHome();
/**
* @return 返回自动扫描的控制器包名称集合
*/
public String[] getControllerPackages();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy