com.ibm.di.fc.webservice
Class ComplexTypesGenerator

java.lang.Object
  extended by com.ibm.di.fc.Function
      extended by com.ibm.di.fc.webservice.ComplexTypesGenerator
All Implemented Interfaces:
FunctionInterface, VersionInfoInterface

public class ComplexTypesGenerator
extends Function


Field Summary
 
Fields inherited from class com.ibm.di.fc.Function
logger
 
Constructor Summary
ComplexTypesGenerator()
           
 
Method Summary
 void compile(String aJavaCompilerExecutablePath)
           
static void generateComplexTypes(String aWsdlUrl, String aWsdlToJavaOptions, String aJDKPath, String aJarFileName, boolean aAutoGenJavaSrcFiles)
           
 void generateComplexTypesJavaFiles(String wsdlFile, String aWsdlToJavaOptions)
           
 String getVersion()
           
 Object perform(Object obj)
          This is the main method of a Function Component.
static String readInputStream(InputStream aInputStream)
           
 
Methods inherited from class com.ibm.di.fc.Function
debug, getConfiguration, getContext, getLog, getParam, getUI, initialize, initialize, logmsg, setConfiguration, setContext, setLog, setParam, terminate, updateSchema, verifyInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexTypesGenerator

public ComplexTypesGenerator()
Method Detail

generateComplexTypesJavaFiles

public void generateComplexTypesJavaFiles(String wsdlFile,
                                          String aWsdlToJavaOptions)
                                   throws Exception
Throws:
Exception

compile

public void compile(String aJavaCompilerExecutablePath)
             throws Exception
Throws:
Exception

readInputStream

public static String readInputStream(InputStream aInputStream)
                              throws IOException
Throws:
IOException

perform

public Object perform(Object obj)
               throws Exception
Description copied from interface: FunctionInterface
This is the main method of a Function Component. This method is called for the Function Component to actually do its job. The implementation of this methods performs the function which the Function Component was created to do.

Parameters:
obj - the input to the function
Returns:
the output from the function
Throws:
Exception - An exception is thrown if this method fails.

getVersion

public String getVersion()

generateComplexTypes

public static void generateComplexTypes(String aWsdlUrl,
                                        String aWsdlToJavaOptions,
                                        String aJDKPath,
                                        String aJarFileName,
                                        boolean aAutoGenJavaSrcFiles)
                                 throws Exception
Throws:
Exception