com.rhi.architecture.logging
Class JDK14LogFactory

java.lang.Object
  extended bycom.rhi.architecture.logging.LogFactory
      extended bycom.rhi.architecture.logging.JDK14LogFactory
All Implemented Interfaces:
Resource

public class JDK14LogFactory
extends LogFactory

LogFactory impl that wraps the 1.4 logger classes.

Author:
Vaibhav Ranjangaonkar

Field Summary
 
Fields inherited from class com.rhi.architecture.logging.LogFactory
KEY
 
Constructor Summary
JDK14LogFactory()
           
 
Method Summary
 void close()
          close()
 Logger getDefaultLogger()
          return default logger
 Logger getLogger(java.lang.String type)
          get Logger for provided type
 void init(java.util.Properties p)
          init()
 
Methods inherited from class com.rhi.architecture.logging.LogFactory
getFactory, getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDK14LogFactory

public JDK14LogFactory()
Method Detail

init

public void init(java.util.Properties p)
init()

Parameters:
p -
See Also:
Resource.init(java.util.Properties)

getDefaultLogger

public Logger getDefaultLogger()
                        throws ConfigurationException
return default logger

Specified by:
getDefaultLogger in class LogFactory
Returns:
Logger
Throws:
ConfigurationException
See Also:
LogFactory.getDefaultLogger()

getLogger

public Logger getLogger(java.lang.String type)
                 throws ConfigurationException
get Logger for provided type

Specified by:
getLogger in class LogFactory
Parameters:
type -
Returns:
Logger
Throws:
ConfigurationException
See Also:
LogFactory.getLogger(java.lang.String)

close

public void close()
close()

See Also:
Resource.close()


Copyright © 2002-2004 Robert Half International. All Rights Reserved.