com.ibm.commerce.ras

Class LogFileFactory

  • java.lang.Object
    • com.ibm.commerce.ras.LogFileFactory


  • public class LogFileFactory
    extends java.lang.Object
    The factory for the log file of Logging service.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static LogFileFactory instance
      Defines the LogFileFactory singleton.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      LogFile getLogFile(java.lang.String fileName)
      Gets the log file.
      static void main(java.lang.String[] args)
      Test Program
      void reset()
      Reset the log file factory by clearing any cached log files objects.
      static LogFileFactory singleton()
      Returns the LogFileFactory instance.
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • instance

        public static LogFileFactory instance
        Defines the LogFileFactory singleton.
    • Method Detail

      • getLogFile

        public LogFile getLogFile(java.lang.String fileName)
        Gets the log file.
        Parameters:
        fileName - String
        Returns:
        the LogFile object
      • main

        public static void main(java.lang.String[] args)
        Test Program
      • singleton

        public static LogFileFactory singleton()
        Returns the LogFileFactory instance.
        Returns:
        LogFileFactory instance
      • reset

        public void reset()
        Reset the log file factory by clearing any cached log files objects.