Package org.pentaho.di.core.extension
Class ExtensionPointMap
java.lang.Object
org.pentaho.di.core.extension.ExtensionPointMap
This class maintains a map of ExtensionPointInterface object to its name.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtensionPoint
(PluginInterface extensionPointPlugin) Add the extension point plugin to the mapvoid
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 lockstatic ExtensionPointMap
static LogChannelInterface
getLog()
void
Reinitialize the extension point plugins mapvoid
removeExtensionPoint
(PluginInterface extensionPointPlugin) Remove the extension point plugin from the mapvoid
reset()
-
Method Details
-
getInstance
-
addExtensionPoint
Add the extension point plugin to the map- Parameters:
extensionPointPlugin
-
-
removeExtensionPoint
Remove the extension point plugin from the map- Parameters:
extensionPointPlugin
-
-
reInitialize
public void reInitialize()Reinitialize the extension point plugins map -
callExtensionPoint
public void callExtensionPoint(LogChannelInterface log, String id, Object object) throws KettleException Call the extension point(s) corresponding to the given id This iteration was isolated here to protect against ConcurrentModificationException using PluginRegistry's lock- Parameters:
log
- log channel to pass to extension point callid
- the id of the extension point interfaceobject
- object to pass to extension point call- Throws:
KettleException
-
getLog
-
reset
public void reset()
-