This could be scala-trait, but we leave it as abstract class for now for java compatibility.
TODO We should consider separate interfaces for java implementation, but right now we convert ProcessConfigCreator
from java to scala one and is seems difficult to convert java CustomStreamTransformer, Service etc. into scala ones
IMPORTANT lifecycle notice:
Implementations of this class *must not* allocate resources (connections, file handles etc.) unless open() *or* appropriate @MethodToInvoke
is called
Interface of Enricher/Processor. It has to have one method annotated with pl.touk.nussknacker.engine.api.MethodToInvoke. This method is called for every service invocation.
This could be scala-trait, but we leave it as abstract class for now for java compatibility.
TODO We should consider separate interfaces for java implementation, but right now we convert ProcessConfigCreator from java to scala one and is seems difficult to convert java CustomStreamTransformer, Service etc. into scala ones
IMPORTANT lifecycle notice: Implementations of this class *must not* allocate resources (connections, file handles etc.) unless open() *or* appropriate @MethodToInvoke is called