com.ibm.itim.script

Class ScriptLanguageMUX

  • java.lang.Object
    • com.ibm.itim.script.ScriptLanguageMUX


  • public class ScriptLanguageMUX
    extends java.lang.Object
    Class to allow easy multiplexing of script languages based on the scriptframework.properties file.
    Since:
    ITIM 5.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String get(java.lang.String hcName)
      Looks up the language name to use from the scriptframework.properties file.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • get

        public static java.lang.String get(java.lang.String hcName)
        Looks up the language name to use from the scriptframework.properties file. If no language is defined in the file then a default language is returned.
        Parameters:
        hcName - The name of the host component. This name is appended to ITIM.interpreter. and then the combined name is used to look up which interpreter to use for the host component. The right hand side value should be either IBMJS or FESI (case insensitive). Any other values will cause a note to be made in the trace log and for the IBMJS engine to be used.
        Returns:
        The script language to use, or a default language if none is defined in the properties file.