com.bowstreet.appserver.logmanager
Interface ILogDriver


public interface ILogDriver

The interface for logging drivers. You need to take care of the synchronization of the methods since they will be called in multiple threads.

Version:
1.0
Author:
Bin Ji

Method Summary
 void close()
          close the driver, it is called when the logging policy is reset.
 void flush()
          flush the driver
 void init(java.util.Properties props)
          initialize the driver, it is called when a log is passed to this driver the first time.
 void notify(java.lang.Object log)
          notify this driver about the log
 java.lang.String toString()
          the description of the driver
 

Method Detail

close

void close()
close the driver, it is called when the logging policy is reset.


flush

void flush()
flush the driver


init

void init(java.util.Properties props)
initialize the driver, it is called when a log is passed to this driver the first time.


notify

void notify(java.lang.Object log)
notify this driver about the log


toString

java.lang.String toString()
the description of the driver

Overrides:
toString in class java.lang.Object


Copyright © 2009 IBM. All Rights Reserved.