Class Plugin


@Deprecated(forRemoval=true) public class Plugin extends Plugin
Deprecated, for removal: This API element is subject to removal in a future version.
Use org.rapidcontext.core.type.Plugin instead.
The base plug-in class. A plug-in may extend this class in order to supervise the loading and unloading process. If a plug-in does not declare an overriding implementation, a default instance of this class is created instead.
Version:
1.0
  • Constructor Details

    • Plugin

      public Plugin(String id, String type, Dict dict)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new plug-in from a serialized representation.
      Parameters:
      id - the object identifier
      type - the object type name
      dict - the serialized representation
    • Plugin

      @Deprecated(forRemoval=true) public Plugin(Dict dict)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor signature has changed as plug-in objects are now initialized by the root storage.
      Creates a new plug-in instance with the specified plug-in configuration data. All subclasses must provide a constructor matching this signature.
      Parameters:
      dict - the plug-in configuration data