Package org.frankframework.util.flow
Class FlowDiagramManager
java.lang.Object
org.frankframework.util.flow.FlowDiagramManager
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
public class FlowDiagramManager
extends Object
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Utility class to generate the flow diagram for an adapter or a configuration.
- Version:
- 2.0
- Author:
- Niels Meijer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected IFlowGenerator
createFlowGenerator
(String generatorBeanClass) Optional IFlowGenerator.void
destroy()
void
generate
(List<Configuration> configurations) void
generate
(Configuration configuration) void
get
(List<Configuration> configurations) get
(Configuration configuration) getAdapterConfigurationAsString
(Adapter adapter) getConfigurationXml
(List<Configuration> configurations) org.springframework.util.MimeType
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
FlowDiagramManager
public FlowDiagramManager()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getMediaType
public org.springframework.util.MimeType getMediaType() -
createFlowGenerator
Optional IFlowGenerator. If not present, the FlowDiagramManager should still be able to generate dot files and return the `noImageAvailable` image. -
get
- Throws:
IOException
-
get
- Throws:
IOException
-
get
- Throws:
IOException
-
generate
- Throws:
IOException
-
generate
- Throws:
IOException
-
generate
- Throws:
IOException
-
getAdapterConfigurationAsString
-
getConfigurationXml
-
destroy
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-