org.webframe.support.driver.loader
Class AbstractModulePluginLoader
java.lang.Object
org.webframe.support.driver.loader.AbstractModulePluginLoader
- All Implemented Interfaces:
- ModulePluginLoader
- Direct Known Subclasses:
- DefaultModulePluginLoader, PropertiesModulePluginLoader
public abstract class AbstractModulePluginLoader
- extends Object
- implements ModulePluginLoader
抽象模块插件加载器,提供class.forName加载模块插件类
- Version:
- $Id: codetemplates.xml,v 1.1 2009/09/07 08:48:12 Exp $ Create: 2011-4-5 下午02:21:01
- Author:
- 黄国庆
|
Field Summary |
protected org.apache.commons.logging.Log |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.apache.commons.logging.Log log
AbstractModulePluginLoader
public AbstractModulePluginLoader()
loadModulePlugin
protected void loadModulePlugin(String[] drivers)
throws DriverNotExistException
- 通过给定的模块插件驱动类全路径数组,加载模块插件驱动
- Parameters:
drivers - 模块插件驱动类全路径数组,例如: String[] drivers = {
"org.webframe.core.CoreModulePluginDriver"};
- Throws:
DriverNotExistException
enableWebframeLog
public void enableWebframeLog(boolean enable)
- Description copied from interface:
ModulePluginLoader
- 是否开启Webframe框架日志
- Specified by:
enableWebframeLog in interface ModulePluginLoader
Copyright © 2012. All Rights Reserved.