com.ibm.websphere.batch.ilc
Class ILProcedureFactory
- java.lang.Object
-
- com.ibm.websphere.batch.ilc.ILProcedureFactory
-
public class ILProcedureFactory 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
Constructors Constructor and Description ILProcedureFactory()
-
Method Summary
Methods Modifier and Type Method and Description 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.static ILProcedureFactory
getFactory()
Returns the factory instance singleton for use in creating ILProcedure objects.
-
-
-
Method Detail
-
getFactory
public static ILProcedureFactory getFactory()
Returns the factory instance singleton for use in creating ILProcedure objects.- Returns:
- the factory instance singleton.
-
create
public 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.- 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.
-
-