Class LogSwiftletImpl

java.lang.Object
LogSwiftlet
com.swiftmq.impl.log.standard.LogSwiftletImpl

public class LogSwiftletImpl extends LogSwiftlet
  • Constructor Details

    • LogSwiftletImpl

      public LogSwiftletImpl()
  • Method Details

    • logInformation

      public void logInformation(String source, String message)
      Log an information message
      Parameters:
      source - usually the swiftlet name
      message - the message to log
    • logWarning

      public void logWarning(String source, String message)
      Log a warning message
      Parameters:
      source - usually the swiftlet name
      message - the message to log
    • logError

      public void logError(String source, String message)
      Log an error message
      Parameters:
      source - usually the swiftlet name
      message - the message to log
    • createLogSink

      public LogSink createLogSink(String s)
    • startup

      protected void startup(Configuration config) throws SwiftletException
      Startup the swiftlet. Check if all required properties are defined and all other startup conditions are met. Do startup work (i. e. start working thread, get/open resources). If any condition prevends from startup fire a SwiftletException.
      Throws:
      com.swiftmq.swiftlet.SwiftletException
      SwiftletException
    • shutdown

      protected void shutdown() throws SwiftletException
      Shutdown the swiftlet. Check if all shutdown conditions are met. Do shutdown work (i. e. stop working thread, close resources). If any condition prevends from shutdown fire a SwiftletException.
      Throws:
      com.swiftmq.swiftlet.SwiftletException
      SwiftletException