Package org.frankframework.util.flow
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).-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Configure this component.int
getPhase()
boolean
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setFlowDiagramManager
(FlowDiagramManager flowDiagramManager) void
start()
void
stop()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle
isAutoStartup
Methods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Constructor Details
-
SpringContextFlowDiagramProvider
public SpringContextFlowDiagramProvider()
-
-
Method Details
-
getPhase
public int getPhase()- Specified by:
getPhase
in interfaceConfigurableLifecycle
- Specified by:
getPhase
in interfaceorg.springframework.context.Phased
- Specified by:
getPhase
in interfaceorg.springframework.context.SmartLifecycle
-
start
public void start()- Specified by:
start
in interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stop
in interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunning
in interfaceorg.springframework.context.Lifecycle
-
configure
public void configure()Description copied from interface:IConfigurable
Configure this component.In the case of a container, this will propagate the configure signal to all components that apply.
- Specified by:
configure
in interfaceIConfigurable
-
setFlowDiagramManager
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-