Package org.rapidcontext.app.plugin
Class Plugin
java.lang.Object
org.rapidcontext.core.storage.StorableObject
org.rapidcontext.core.type.Plugin
org.rapidcontext.app.plugin.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
-
Field Summary
Fields inherited from class org.rapidcontext.core.type.Plugin
KEY_COPYRIGHT, KEY_DATE, KEY_DESCRIPTION, KEY_NAME, KEY_PLATFORM, KEY_VERSION, PATH, PATH_CACHE, PATH_STORAGE
Fields inherited from class org.rapidcontext.core.storage.StorableObject
dict, KEY_ACTIVATED_TIME, KEY_CLASSNAME, KEY_ID, KEY_TYPE, PREFIX_COMPUTED, PREFIX_HIDDEN
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Creates a new plug-in from a serialized representation.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. -
Method Summary
Methods inherited from class org.rapidcontext.core.type.Plugin
cachePath, configPath, instancePath, normalize, source, storagePath, version, version
Methods inherited from class org.rapidcontext.core.storage.StorableObject
activate, activatedTime, destroy, id, init, isActive, isModified, passivate, path, serialize, sterilize, toString, type
-
Constructor Details
-
Plugin
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 identifiertype
- the object type namedict
- the serialized representation
-
Plugin
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
-