Class PluginInfoKey
java.lang.Object
net.sf.basedb.util.extensions.manager.PluginInfoKey
- All Implemented Interfaces:
ObjectKey<PluginInfo>
Key implementation used to identify plug-in definitions.
Since a plug-in can be identified by it's class name,
we use that as the key for equality.
- Since:
- 3.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date$
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPluginInfoKey
(String className) Create a new key for a plug-in with the given class name.PluginInfoKey
(PluginInfo info) Create a new key for an plug-in definition. -
Method Summary
-
Field Details
-
className
-
-
Constructor Details
-
PluginInfoKey
Create a new key for a plug-in with the given class name.- Parameters:
className
- The class name (required)
-
PluginInfoKey
Create a new key for an plug-in definition.- Parameters:
info
- Information about the plug-in (required)
-
-
Method Details
-
toDescription
Description copied from interface:ObjectKey
Get a string description of the key that is suitable for use in (error) messages to users.- Specified by:
toDescription
in interfaceObjectKey<PluginInfo>
-
hashCode
public int hashCode() -
equals
-
toString
-