public class PipelineRegistrarImpl extends Object implements PipelineRegistrar
Constructor and Description |
---|
PipelineRegistrarImpl(Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
registerPipelineMethod(Object object,
String methodName)
Registers a function with the name pipelineFunctionName with the Pipeline module so that pipelines can
call into Java Transformer modules.
|
void |
registerPipelineMethod(Object callback,
String pipelineFunctionName,
String methodName)
Registers a function with the name pipelineFunctionName with the Pipeline module so that pipelines can
call into Java Transformer modules.
|
public PipelineRegistrarImpl(Logger logger)
public void registerPipelineMethod(Object object, String methodName) throws NoSuchMethodException
PipelineRegistrar
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.registerPipelineMethod
in interface PipelineRegistrar
object
- object where the method will get called onmethodName
- method to be called on the provided objectNoSuchMethodException
- if no method with the given name can be foundpublic void registerPipelineMethod(Object callback, String pipelineFunctionName, String methodName) throws NoSuchMethodException
PipelineRegistrar
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.registerPipelineMethod
in interface PipelineRegistrar
callback
- object where the method will get called onpipelineFunctionName
- function name registered with pipelinesmethodName
- method to be called on the provided objectNoSuchMethodException
- if no method with the given name can be foundPlease send bug reports and comments to Caplin support