Class ExtensionPointHandler


  • public class ExtensionPointHandler
    extends Object
    • Constructor Detail

      • ExtensionPointHandler

        public ExtensionPointHandler()
    • Method Detail

      • callExtensionPoint

        public static void callExtensionPoint​(LogChannelInterface log,
                                              String id,
                                              Object object)
                                       throws KettleException
        This method looks up the extension point plugins with the given ID in the plugin registry. If one or more are found, their corresponding interfaces are instantiated and the callExtensionPoint() method is invoked.
        Parameters:
        log - the logging channel to write debugging information to
        id - The ID of the extension point to call
        object - The parent object that is passed to the plugin
        Throws:
        KettleException - In case something goes wrong in the plugin and we need to stop what we're doing.