Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buypublic interface ExtensionRegistry
| Modifier and Type | Method and Description |
|---|---|
<T extends Extension> |
getExtension(Class<T> extensionClazz)
Retrieves an extension by its class type.
|
Extension |
getExtension(String name)
Retrieves an extension by its name.
|
Plugin |
getPlugin()
Gets the plugin that this extension manager is associated with.
|
boolean |
isExtensionEnabled(String name)
Checks if an extension is currently enabled.
|
void |
loadExtension(Extension extension)
Enables a specific extension.
|
boolean |
registerExtension(Extension extension)
Registers an extension from the given object.
|
void |
unloadExtension(Extension extension)
Disables a specific extension.
|
void |
unregisterExtension(Extension extension)
Unloads a specific extension, removing it from memory.
|
Plugin getPlugin()
boolean registerExtension(Extension extension)
extension - the extension to register.void loadExtension(Extension extension)
extension - the extension to enable.void unloadExtension(Extension extension)
extension - the extension to disable.void unregisterExtension(Extension extension) throws IOException
extension - the extension to unload.IOException<T extends Extension> T getExtension(Class<T> extensionClazz)
T - the extension type.extensionClazz - the class type of the extension.Extension getExtension(String name)
name - the name of the extension.boolean isExtensionEnabled(String name)
name - the name of the extension.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy