public class ExtensionPointMap extends Object
Modifier and Type | Method and Description |
---|---|
void |
addExtensionPoint(PluginInterface extensionPointPlugin)
Add the extension point plugin to the map
|
void |
callExtensionPoint(LogChannelInterface log,
String id,
Object object)
Call the extension point(s) corresponding to the given id
This iteration was isolated here to protect against ConcurrentModificationException using PluginRegistry's lock
|
static ExtensionPointMap |
getInstance() |
static LogChannelInterface |
getLog() |
void |
reInitialize()
Reinitialize the extension point plugins map
|
void |
removeExtensionPoint(PluginInterface extensionPointPlugin)
Remove the extension point plugin from the map
|
void |
reset() |
public static ExtensionPointMap getInstance()
public void addExtensionPoint(PluginInterface extensionPointPlugin)
extensionPointPlugin
- public void removeExtensionPoint(PluginInterface extensionPointPlugin)
extensionPointPlugin
- public void reInitialize()
public void callExtensionPoint(LogChannelInterface log, String id, Object object) throws KettleException
log
- log channel to pass to extension point callid
- the id of the extension point interfaceobject
- object to pass to extension point callKettleException
public static LogChannelInterface getLog()
public void reset()
Copyright © 2020 Hitachi Vantara. All rights reserved.