public class Plugin extends StorableObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_PLATFORM
The dictionary key for the optimal platform version.
|
dict, KEY_CLASSNAME, KEY_ID, KEY_TYPE
Constructor and Description |
---|
Plugin(Dict dict)
Creates a new plug-in instance with the specified plug-in
configuration data.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Uninitializes the plug-in.
|
void |
init()
Initializes the plug-in.
|
activate, id, isActive, isModified, passivate, path, serialize, toString, type
public static final java.lang.String KEY_PLATFORM
public Plugin(Dict dict)
dict
- the plug-in configuration datapublic void init() throws StorageException
init
in class StorableObject
StorageException
- if the initialization failedpublic void destroy() throws StorageException
destroy
in class StorableObject
StorageException
- if the destruction failed