Class PipelineRegistrarImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      PipelineRegistrarImpl​(java.util.logging.Logger logger)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void registerPipelineMethod​(java.lang.Object object, java.lang.String methodName)
      Registers a function with the name pipelineFunctionName with the Pipeline module so that pipelines can call into Java Transformer modules.
      void registerPipelineMethod​(java.lang.Object callback, java.lang.String pipelineFunctionName, java.lang.String methodName)
      Registers a function with the name pipelineFunctionName with the Pipeline module so that pipelines can call into Java Transformer modules.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PipelineRegistrarImpl

        public PipelineRegistrarImpl​(java.util.logging.Logger logger)
    • Method Detail

      • registerPipelineMethod

        public void registerPipelineMethod​(java.lang.Object object,
                                           java.lang.String methodName)
                                    throws java.lang.NoSuchMethodException
        Description copied from interface: PipelineRegistrar
        Registers a function with the name pipelineFunctionName with the Pipeline module so that pipelines can call into Java Transformer modules. The registrar looks up all methods with methodName on the class of object and checks their signatures against valid types defined in PipelineType. All methods passing this validity check will get registered with pipelines. In case of methods being overloaded, the correct one to call will be determined at runtime, with a few limitations - see Notes.
        Specified by:
        registerPipelineMethod in interface PipelineRegistrar
        Parameters:
        object - object where the method will get called on
        methodName - method to be called on the provided object
        Throws:
        java.lang.NoSuchMethodException - if no method with the given name can be found
      • registerPipelineMethod

        public void registerPipelineMethod​(java.lang.Object callback,
                                           java.lang.String pipelineFunctionName,
                                           java.lang.String methodName)
                                    throws java.lang.NoSuchMethodException
        Description copied from interface: PipelineRegistrar
        Registers a function with the name pipelineFunctionName with the Pipeline module so that pipelines can call into Java Transformer modules. The registrar looks up all methods with methodName on the class of object and checks their signatures against valid types defined in PipelineType. All methods passing this validity check will get registered with pipelines. In case of methods being overloaded, the correct one to call will be determined at runtime, with a few limitations - see Notes.
        Specified by:
        registerPipelineMethod in interface PipelineRegistrar
        Parameters:
        callback - object where the method will get called on
        pipelineFunctionName - function name registered with pipelines
        methodName - method to be called on the provided object
        Throws:
        java.lang.NoSuchMethodException - if no method with the given name can be found