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 TypeMethodDescriptionvoidaddExtensionPoint(PluginInterface extensionPointPlugin) Add the extension point plugin to the mapvoidcallExtensionPoint(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 ExtensionPointMapstatic LogChannelInterfacegetLog()voidReinitialize the extension point plugins mapvoidremoveExtensionPoint(PluginInterface extensionPointPlugin) Remove the extension point plugin from the mapvoidreset()
-
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()
-