public class PolicyGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
Constructor and Description |
---|
PolicyGenerator(java.io.File serviceDescriptorFile,
java.lang.String msgnodeInstanceName)
Constructs an Integration service from a service descriptor file.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generate()
To generate a policy based on the properties set in a msgflow and the provided bean name
|
static java.lang.String |
getPolicyBeanName(java.lang.String nodeType)
Determine the policy bean name from node type name
|
public static final java.lang.String copyright
public PolicyGenerator(java.io.File serviceDescriptorFile, java.lang.String msgnodeInstanceName) throws java.io.IOException
serviceDescriptorFile
- Full path of the service.descriptor filemsgnodeInstanceName
- The message flow node instance namejava.io.IOException
java.beans.IntrospectionException
IntegrationServiceException
public java.lang.String generate() throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException, java.lang.InstantiationException, java.beans.IntrospectionException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
java.beans.IntrospectionException
public static java.lang.String getPolicyBeanName(java.lang.String nodeType)
nodeType
-