クラス ServerLogicClassDelegate

java.lang.Object
jp.ne.mki.wedge.pub.server.logicclass.ServerLogicClassDelegate
すべての実装されたインタフェース:
jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate

public class ServerLogicClassDelegate extends Object implements jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate

Server用EngineManagerInterface経由での委譲クラス

EngineManagerInterface経由でログ出力を行います。
ただし、ダイアログ表示のメソッドを使用してもダイアログは表示されません。

  • コンストラクタの概要

    コンストラクタ
    コンストラクタ
    説明
    ServerLogicClassDelegate(jp.ne.mki.wedge.run.library.WedgeLog2RunServer wedgeLog)
     
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    getConnectDB(jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    XM_ServerControlDataに紐付くCurrentServerRuleに対して、getConnectDBの処理を行います。
    getRuleSql(jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    XM_ServerControlDataに紐付くCurrentServerRuleに対して、getRuleSqlの処理を行います。
    void
    log(LogRecord record)
    LogRecordのログ出力
    void
    setConnectDB(String connDB, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    XM_ServerControlDataに紐付くCurrentServerRuleに対して、setConnectDBの処理を行います。
    void
    setRuleSql(String sql, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    XM_ServerControlDataに紐付くCurrentServerRuleに対して、setRuleSqlの処理を行います。
    int
    showConfirmDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    確認ダイアログの表示
    void
    showErrorDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    エラーダイアログ表示
    void
    showInfomationDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    情報ダイアログの表示
    void
    showWarningDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    警告ダイアログの表示
    void
    writeErrorLog(String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    エラーログを出力する
    void
    writeLog(Level level, String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    エラーログを出力
    void
    writeTraceLog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
    トレース Logの吐き出し

    クラスから継承されたメソッド java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • コンストラクタの詳細

    • ServerLogicClassDelegate

      public ServerLogicClassDelegate(jp.ne.mki.wedge.run.library.WedgeLog2RunServer wedgeLog)
  • メソッドの詳細

    • showErrorDialog

      public void showErrorDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      エラーダイアログ表示
      定義:
      showErrorDialog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
    • showInfomationDialog

      public void showInfomationDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      情報ダイアログの表示
      定義:
      showInfomationDialog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
    • showWarningDialog

      public void showWarningDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      警告ダイアログの表示
      定義:
      showWarningDialog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
    • showConfirmDialog

      public int showConfirmDialog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      確認ダイアログの表示
      定義:
      showConfirmDialog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
      戻り値:
      result 常に0が返ります。
    • writeErrorLog

      public void writeErrorLog(String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      エラーログを出力する
      定義:
      writeErrorLog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      th -
      logicClass -
    • writeTraceLog

      public void writeTraceLog(String message, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      トレース Logの吐き出し

      messageの先頭に クラス名などの情報を付与してログ出力します。

      定義:
      writeTraceLog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      message -
      logicClass -
      wedgeLog -
      className -
      physicalName -
      controlRecord -
    • log

      public void log(LogRecord record)
      LogRecordのログ出力
      定義:
      log インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      record -
      導入されたバージョン:
      ver1.2
    • writeLog

      public void writeLog(Level level, String message, Throwable th, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      エラーログを出力
      定義:
      writeLog インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
      パラメータ:
      level -
      message -
      th -
      logicClass -
      導入されたバージョン:
      ver1.2.0
    • setConnectDB

      public void setConnectDB(String connDB, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      XM_ServerControlDataに紐付くCurrentServerRuleに対して、setConnectDBの処理を行います。
      定義:
      setConnectDB インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
    • setRuleSql

      public void setRuleSql(String sql, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      XM_ServerControlDataに紐付くCurrentServerRuleに対して、setRuleSqlの処理を行います。
      定義:
      setRuleSql インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
    • getConnectDB

      public String getConnectDB(jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      XM_ServerControlDataに紐付くCurrentServerRuleに対して、getConnectDBの処理を行います。
      定義:
      getConnectDB インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate
    • getRuleSql

      public String getRuleSql(jp.ne.mki.wedge.run.interfaces.RuleEngineInterface logicClass)
      XM_ServerControlDataに紐付くCurrentServerRuleに対して、getRuleSqlの処理を行います。
      定義:
      getRuleSql インタフェース内 jp.ne.mki.wedge.run.interfaces.ILogicClassDelegate