jp.ne.mki.wedge.option.log.handler
クラス WedgeFileHandler

java.lang.Object
  上位を拡張 java.util.logging.Handler
      上位を拡張 jp.ne.mki.wedge.option.log.handler.WedgeFileHandler
すべての実装されたインタフェース:
PropertiesSetterInterface

public class WedgeFileHandler
extends java.util.logging.Handler
implements PropertiesSetterInterface

製品独自のFile出力ハンドラクラスです。
このクラスは標準の java.util.logging.FileHandler と異なり、
ファイルのロックなどを行いません。
ログ出力のタイミングで、ファイルをオープンし、
ログ出力が完了するたびに、ファイルをクローズします。


フィールドの概要
protected  java.io.File[] files
           
protected  java.io.File lockFile
           
 
コンストラクタの概要
WedgeFileHandler()
           
 
メソッドの概要
 void close()
           
 void flush()
           
 java.util.Properties getConfigProperties()
          エンジン側から コンフィグ情報を読み取ります。
 java.lang.String getPattern()
           
 void publish(java.util.logging.LogRecord record)
           
 void setConfigProperties(java.util.Properties pro)
          コンフィグに設定された値を、引数に受け取り、 このオブジェクトの プロパティを設定します。
 void setFileName()
           
 
クラス java.util.logging.Handler から継承されたメソッド
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

lockFile

protected java.io.File lockFile

files

protected java.io.File[] files
コンストラクタの詳細

WedgeFileHandler

public WedgeFileHandler()
                 throws java.io.IOException
例外:
java.io.IOException
メソッドの詳細

setConfigProperties

public void setConfigProperties(java.util.Properties pro)
コンフィグに設定された値を、引数に受け取り、 このオブジェクトの プロパティを設定します。

定義:
インタフェース PropertiesSetterInterface 内の setConfigProperties
パラメータ:
pro - コンフィグに定義されたプロパティ情報
例外:
java.io.IOException

getConfigProperties

public java.util.Properties getConfigProperties()
インタフェース PropertiesSetterInterface の記述:
エンジン側から コンフィグ情報を読み取ります。 この機能は オブジェクトの情報を出力するために使用されます。

定義:
インタフェース PropertiesSetterInterface 内の getConfigProperties
戻り値:
Properties

setFileName

public void setFileName()
                 throws java.io.IOException
例外:
java.io.IOException

close

public void close()
           throws java.lang.SecurityException
定義:
クラス java.util.logging.Handler 内の close
例外:
java.lang.SecurityException

flush

public void flush()
定義:
クラス java.util.logging.Handler 内の flush

publish

public void publish(java.util.logging.LogRecord record)
定義:
クラス java.util.logging.Handler 内の publish

getPattern

public java.lang.String getPattern()