i_pluginmanager.java
来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 46 行
JAVA
46 行
/*------------------------------------------------------------------------------Name: PluginManagerBase.javaProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment: Interface for managers to load plugins.------------------------------------------------------------------------------*/package org.xmlBlaster.util.plugin;import org.xmlBlaster.util.XmlBlasterException;/** * A managare that loads plugins. * * @author Peter Antman * @version $Revision: 1.1 $ $Date: 2004-11-24 20:15:11 +0000 (Wed, 24 Nov 2004) $ */public interface I_PluginManager { /** * Return a specific plugin. * @param String The type of the requested plugin. * @param String The version of the requested plugin. * @return I_Plugin The plugin which is suitable to handle the request. * @exception XmlBlasterException Thrown if no suitable plugin has been found. */ public I_Plugin getPluginObject(String type, String version) throws XmlBlasterException; /** * @return The name of the property in xmlBlaster.property, e.g. "Security.Server.Plugin" * for "Security.Server.Plugin[simple][1.0]" */ // Renamed because of protected access //public String getPluginPropertyName(); public String getName(); /** * @return e.g. "Security.Server.Plugin[simple][1.0]" */ public String createPluginPropertyKey(String type, String version); /** * @return The name of the property in xmlBlaster.property, e.g. "Security.Server.Plugin" * for "Security.Server.Plugin[simple][1.0]" */ public String getDefaultPluginName(String type, String version); }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?