com.ibm.websphere.batch.ilc

Class ILProcedureFactory

  1. java.lang.Object
  2. extended bycom.ibm.websphere.batch.ilc.ILProcedureFactory

  1. public class ILProcedureFactory
  2. extends java.lang.Object
ILProcedureFactory creates ILProcedure instances. This is the alternative to using typed ILProcedure instances. A typed ILProcedure encapsulates a typed version of the parameter list of the ILProcedure. If you create an ILProcedure through this factory, the parameter list of the ILProcedure is an untyped array of byte arrays.

Constructor Summary

Constructor and Description
ILProcedureFactory()

Method Summary

Modifier and Type Method and Description
  1. ILProcedure
create(java.lang.String moduleName,java.lang.String procedureName,byte[][] parmlist,java.lang.String buildCorrelator,java.lang.String buildDate,ILProcedureTestStub testStub)
Creates an ILProcedure instance based on the specified input parameters.
  1. static
  2. ILProcedureFactory
getFactory()
Returns the factory instance singleton for use in creating ILProcedure objects.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ILProcedureFactory

  1. public ILProcedureFactory()

Method Detail

getFactory

  1. public static ILProcedureFactory getFactory( )
Returns the factory instance singleton for use in creating ILProcedure objects.
Returns:
the factory instance singleton.

create

  1. public ILProcedure create(java.lang.String moduleName,
  2. java.lang.String procedureName,
  3. byte[][] parmlist,
  4. java.lang.String buildCorrelator,
  5. java.lang.String buildDate,
  6. ILProcedureTestStub testStub)
Creates an ILProcedure instance based on the specified input parameters.
Parameters:
moduleName - specifies the module name for this ILProcedure.
procedureName - specifies the procedure name for this ILProcedure.
parmlist - specifies the optional parameter list for this ILProcedure or null.
buildCorrelator - specifies the build correlator string for this ILProcedure or null. This is typically used for generated ILProcedures.
buildDate - specifies the build date string for this ILProcedure or null. This is typically used for generated ILProcedures.
testStub - specifies the optional local (non-z/OS) test stub for this ILProcedure or null.
Returns:
an ILProcedure instance. Note: The ILProcedure representation of a native procedure is that a named module contains one or more named procedures. Each procedure receives one or more input parameters and may return an optional return code.