i_pluginconfig.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 34 行

JAVA
34
字号
package org.xmlBlaster.util.plugin;import java.util.Properties;/** * Abstraction to allow access configuration parameters of a Plugin.  * Example: xmlBlasterPlugins. <attributes: *  * @author <a href="mailto:michele@laghi.eu">Michele Laghi</a> */public interface I_PluginConfig {      /**    * @return The configuration, never null    */   public Properties getParameters();   /**    * Gets the prefix for the implementing plugin.     * Suppose you have two plugins ('pluginA1' and 'pluginB2') both containing an     * attribute called 'directoryName'. Then without a context there is now way to     * distinguish between them. This method returns the prefix (the context).    * For example     * 'plugin/${pluginType}/' which would be 'plugin/pluginA1/'    * @return    */   public String getPrefix();      public String getType();   public String getVersion();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?