Class FactoryParametersKey

java.lang.Object
net.sf.basedb.util.extensions.manager.FactoryParametersKey
All Implemented Interfaces:
ObjectKey<String>

public class FactoryParametersKey
extends Object
implements ObjectKey<String>
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 Details

    • factory

      private final Object factory
  • Constructor Details

    • FactoryParametersKey

      public FactoryParametersKey​(Object factory)
      Create a new key for the given factory.
      Parameters:
      factory - The factory (required)
  • Method Details