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

jp.ne.mki.wedge.option.log.handler.WedgeFileHandler
すべての実装インタフェース:
PropertiesSetterInterface

public class WedgeFileHandler
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()
           
 

フィールドの詳細

lockFile

protected java.io.File lockFile

files

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

WedgeFileHandler

public WedgeFileHandler()
                 throws 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
インタフェース jp.ne.mki.wedge.run.interfaces.PropertiesSetterInterface からコピーされたタグ:
戻り値:
Properties

setFileName

public void setFileName()
                 throws java.io.IOException

close

public void close()
           throws java.lang.SecurityException

flush

public void flush()

publish

public void publish(java.util.logging.LogRecord record)

getPattern

public java.lang.String getPattern()