Class AbstractProcessorDecorator<TDef extends IElementDef>

  • Type Parameters:
    TDef - type of definition of decorated processor
    All Implemented Interfaces:
    Processor<TDef>
    Direct Known Subclasses:
    RunningStatusController, StoppedOrExitedProcessor

    public abstract class AbstractProcessorDecorator<TDef extends IElementDef>
    extends Object
    implements Processor<TDef>
    Abstract implementation of Processor interface which realizes Decorator design pattern and overrides almost all Processor's methods (without #run() method) in the default way. It means that invocation of Processor's method is delegated to decorated processor. This class could be really helpful when only #run() method should be decorated in special way.
    Since:
    2.1-SNAPSHOT
    Version:
    %I%, %G%
    Author:
    mczapiewski