xmlBlaster 1.6.2 API

org.xmlBlaster.util.plugin
Interface I_PluginConfig

All Known Implementing Classes:
PluginInfo, TestFilePollerPlugin.PluginProperties, TestFileWriter.PluginProperties

public interface I_PluginConfig

Abstraction to allow access configuration parameters of a Plugin. Example: xmlBlasterPlugins.

Author:
Michele Laghi

Method Summary
 java.util.Properties getParameters()
           
 java.lang.String getPrefix()
          Gets the prefix for the implementing plugin.
 java.lang.String getType()
           
 java.lang.String getVersion()
           
 

Method Detail

getParameters

public java.util.Properties getParameters()
Returns:
The configuration, never null

getPrefix

public java.lang.String getPrefix()
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/'

Returns:

getType

public java.lang.String getType()

getVersion

public java.lang.String getVersion()

xmlBlaster 1.6.2 API

Copyright © 1999-2007 The xmlBlaster.org contributers.