Class ExtensionKey

java.lang.Object
net.sf.basedb.util.extensions.manager.ExtensionKey
All Implemented Interfaces:
ObjectKey<Extension<?>>

public class ExtensionKey extends Object implements ObjectKey<Extension<?>>
Key implementation used to identify extensions. Since each extension is identified by it's id, we use that as the key for equality.
Since:
3.0
Author:
Nicklas
See Also:
Last modified
$Date: 2015-04-20 11:08:18 +0200 (må, 20 apr 2015) $
  • Field Details

    • id

      private final String id
  • Constructor Details

    • ExtensionKey

      public ExtensionKey(String id)
      Create a new key for an extension with the given id.
      Parameters:
      id - The id (required)
    • ExtensionKey

      public ExtensionKey(Extension<?> ext)
      Create a new key for an extension.
      Parameters:
      ext - The extension point (required)
  • Method Details