public class PlugInDef
extends java.lang.Object
Hashtable
objects.
Holds just five public attribute variables for direct access. The variable pseudonym
holds a user-definable short name for the module held by this class (variable 'plugin'). The
variable identifier
holds a unique numerical identifier generated by the KAT system.
This helps it to identify each module. The field classname
provides the fully
qualified name of the class the plugin module is instantiated from. The classpath
field finally provides the class path which the class may be found.
All these values are directly accessed by the KAT system so this class seems not to be for
general but for local purpose. Since the plugin
field holds the common
Object
class type you may set any instance of proper Java classes.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
classname
This holds the fully qualified class name of the plugin module.
|
java.lang.String |
classpath
Path where the plugin module was loaded from.
|
java.lang.String |
identifier
Each plugin module has a unique identifier (numerical).
|
java.lang.Object |
plugin
Reference to the plugin module itself.
|
java.lang.String |
pseudonym
The users may give plugin modules (unique) names.
|
Constructor and Description |
---|
PlugInDef()
Constructor method for i18n purposes only.
|
PlugInDef(java.lang.String pseudonym,
java.lang.String identifier,
java.lang.String classname,
java.lang.String classpath,
java.lang.Object plugin)
Init functionality.
|
public java.lang.String pseudonym
public java.lang.String identifier
public java.lang.String classname
public java.lang.String classpath
public java.lang.Object plugin
public PlugInDef() throws java.lang.InstantiationException
I18NExtractor
).
java.lang.InstantiationException
- Error indicationpublic PlugInDef(java.lang.String pseudonym, java.lang.String identifier, java.lang.String classname, java.lang.String classpath, java.lang.Object plugin)
pseudonym
- The user definable nameidentifier
- The unique identifier for directoriesclassname
- The fully qualified name of the classclasspath
- The class path to access itplugin
- An instance referencepublic java.lang.String toString()
java.lang.Object.toString
.
Returns the plugin pseudonym String
because this has to be unique in CARAMEL.
Always generates a non-null String
object as result.
toString
in class java.lang.Object
public boolean equals(PlugInDef tocheck)
PlugInDef
instance is equal to this.
tocheck
- Instance to be checkedPlugInDef
instance to check for equalityCopyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.