Class SpringContextFlowDiagramProvider

java.lang.Object
org.frankframework.util.flow.SpringContextFlowDiagramProvider
All Implemented Interfaces:
IConfigurable, ConfigurableLifecycle, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class SpringContextFlowDiagramProvider extends Object implements ConfigurableLifecycle, org.springframework.context.ApplicationContextAware
Generate a flow over the digested Adapter or Configuration. Uses Configuration.getLoadedConfiguration() (and in case of an Adapter, an xPath on the LoadedConfiguration).
  • Constructor Details

    • SpringContextFlowDiagramProvider

      public SpringContextFlowDiagramProvider()
  • Method Details

    • getPhase

      public int getPhase()
      Specified by:
      getPhase in interface ConfigurableLifecycle
      Specified by:
      getPhase in interface org.springframework.context.Phased
      Specified by:
      getPhase in interface org.springframework.context.SmartLifecycle
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • configure

      public void configure()
      Description copied from interface: IConfigurable
      Configure this component.

      configure() is called once at startup of the framework in the configure method of the owner of this IConfigurable. Purpose of this method is to check whether the static configuration of the object is correct. As much as possible class-instantiating should take place in the configure(), to improve performance.

      In the case of a container, this will propagate the configure signal to all components that apply.

      Specified by:
      configure in interface IConfigurable
    • setFlowDiagramManager

      public void setFlowDiagramManager(FlowDiagramManager flowDiagramManager)
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware