Class FactoryParametersKey
java.lang.Object
net.sf.basedb.util.extensions.manager.FactoryParametersKey
Key implementation used for configuration parameters for factories.
This is used for both action, renderer and error handler factories
registered for extensions and extension points.
The parameters are stored as metadata on the extensions file that
loaded the extensions and can be accessed via
ExtensionsFile.getMetadata(ObjectKey)
. The returned value is
an XML representation of the parameters as they appear in the
definitions file.
The key is the factory instance itself.
- Since:
- 3.0
- Author:
- Nicklas
- Last modified
- $Date: 2011-04-14 09:45:23 +0200 (to, 14 apr 2011) $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFactoryParametersKey
(Object factory) Create a new key for the given factory. -
Method Summary
-
Field Details
-
factory
-
-
Constructor Details
-
FactoryParametersKey
Create a new key for the given factory.- Parameters:
factory
- The factory (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<String>
-
hashCode
public int hashCode() -
equals
-
toString
-