Package org.pentaho.di.core.extension
Class ExtensionPointMap
- java.lang.Object
-
- org.pentaho.di.core.extension.ExtensionPointMap
-
public class ExtensionPointMap extends Object
This class maintains a map of ExtensionPointInterface object to its name.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
getInstance()
static LogChannelInterface
getLog()
void
reInitialize()
Reinitialize the extension point plugins mapvoid
removeExtensionPoint(PluginInterface extensionPointPlugin)
Remove the extension point plugin from the mapvoid
reset()
-
-
-
Method Detail
-
getInstance
public static ExtensionPointMap getInstance()
-
addExtensionPoint
public void addExtensionPoint(PluginInterface extensionPointPlugin)
Add the extension point plugin to the map- Parameters:
extensionPointPlugin
-
-
removeExtensionPoint
public void removeExtensionPoint(PluginInterface extensionPointPlugin)
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
public static LogChannelInterface getLog()
-
reset
public void reset()
-
-