xmlBlaster 2.2.0 client API

org.xmlBlaster.util.plugin
Interface I_PluginConfig

All Known Implementing Classes:
PluginInfo

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

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

getPrefix

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

java.lang.String getType()

getVersion

java.lang.String getVersion()

xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.