The LoggerManager holds some global log handlers. Are the global log handlers thread safe?
There are many session threads in the server tier. All the session threads use the global log handler to write log messages, so are golbal log handlers thread safe?
By the way, thank Andrew, I know Andrew advises strongly against changing the DB interface, but I think that it is inevitable to add something to the implementation object of DB in my design.
For example, one must has getLockManager() method in Data class implementing DB if he want to move the duty of lock management from DB to another class LockManager.
For another example, one gets the database and field metadata from Data class the best so the getDatabaseMetadata() and getFieldMetadata() methods should be added. He should provide the database meta infomation from his mind instead of from the database if one does not change the DB interface. [ September 29, 2004: Message edited by: Hu Yong Jun ]