type
property names the plugin class.
@author Christoph Beck
A JavaBean representing the configuration information of a <plug-in>
element in a Struts configuration file.
Note that this class does not extend BaseConfig
because it is more "internal" than the other classes which do, and because this class has an existing "properties" object which collides with the one in BaseConfig
. Also, since one always writes a concrete PlugIn implementation, there seems to be less call for an arbitrary property map; one can simply use bean properties instead.
This class interface contains four different variations of get and set parameter methods:
The second set of methods do what the first set of methods were primarily intended for - you can use these methods to get or set some core parameters. You should use the parameter names defined as constants in this interface (the ones labelled CORE_PARAM). These parameters will be properly supported by Azureus, even if the way these values are stored or handled differently in the Azureus core itself.
Attempting to set or get parameters not mentioned here should raise an error (in some cases in the past, this wasn't always enforced by the first set of methods.
The third set of methods allow you to modify configuration settings which are stored directly inside Azureus. These settings may change (without warning) between versions, so there is no guarantee that plugins that use these values will behave properly in different versions of Azureus.
The last set of methods are used to store and retrieve data intended exclusively for the use of the plugin itself, which is what you will be using most of the time.
Used to represent a copy of the config information required for the UI.
@author dzwiers, Refractions Research, Inc. @author $Author: dmzwiers $ (last modification) @version $Id: PlugInConfig.java 6326 2007-03-15 18:36:40Z jdeolive $<plugin id='storage:CACHE' className='org.xmlBlaster.engine.msgstore.cache.PersistenceCachePlugin'> <attribute id='transientQueue'>storage:RAM</attribute> <attribute id='persistentQueue'>storage:JDBC</attribute> </plugin>
|
|
|
|
|
|