com.ibm.cics.server

Interface OutputRedirectionPlugin



  • public interface OutputRedirectionPlugin

    This interface provides a single method to the CICS Wrapper class for use when redirecting requests for STDOUT and STDERR.



    Class level design/service information:
    None
    Since CICS TS version:
    2.3
    Since package version:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean initRedirect(java.lang.String inDest, java.io.PrintStream inPS, java.lang.String inApplid, java.lang.String inProgramName, java.lang.Integer inTaskNumber, java.lang.String inTransid) 
    • Method Detail

      • initRedirect

        boolean initRedirect(java.lang.String inDest,
                             java.io.PrintStream inPS,
                             java.lang.String inApplid,
                             java.lang.String inProgramName,
                             java.lang.Integer inTaskNumber,
                             java.lang.String inTransid)
        Parameters:
        inDest - The string indicating the preferred destination: "stdout" or "stderr"
        inPS - The original input stream, indicated by STDOUT or STDERR in the Profile associated by the JVM which is servicing this request.
        inApplid - The APPLID of the CICS region running the Java application program
        inProgramName - The name of the Java application program
        inTaskNumber - The number of the associated CICS Task.
        inTransid - The CICS Transaction Identifier
        Returns:
        true if it worked
        Since CICS TS version:
        2.3
        Since package version:
        1.0