Class SMTextAppLauncher

All Implemented Interfaces:
Runnable

public class SMTextAppLauncher extends TextUIServer
Deprecated.
- please use SMLauncher
Allows launching of individual programs (Sub-classes of BaseService). Usage :
  
     java -Xms150m -Xmx550m com.softwaremining.SMTextAppLauncher com.mypackage.myClass param-1 param-2 ...
  
Where param-1 ... are parameters which would have been passed to the original COBOL program and read through Cobol ACCEPT statement.
  • Constructor Details

    • SMTextAppLauncher

      public SMTextAppLauncher()
      Deprecated.
  • Method Details

    • getTargetInstance

      public Service getTargetInstance()
      Deprecated.
      Description copied from class: ScreenServer
      create an instance of the class to be run .
      Specified by:
      getTargetInstance in class ScreenServer
      Returns:
    • processCommandLineParameters

      public static void processCommandLineParameters(String[] args)
      Deprecated.
      Start the TextAppLauncher ...
      Parameters:
      args -
    • processCommandLineParameters

      public static void processCommandLineParameters(String[] args, boolean termintateOnBadReturnCode)
      Deprecated.
      Start the TextAppLauncher ...
      Parameters:
      args -
    • hasCommandLineParameters

      public boolean hasCommandLineParameters()
      Deprecated.
    • main

      public static void main(String[] args)
      Deprecated.
    • setCommandLineArgs

      public static void setCommandLineArgs(String[] newCommandLineArgs)
      Deprecated.