|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.logging.LogFactory
LogFactory - create Factory for a certain logging library.
Field Summary | |
static java.lang.String |
KEY
key used by ResourceContext to find LogFactory type & used by clients to retrieve the currently loaded LogFactory. |
Constructor Summary | |
LogFactory()
|
Method Summary | |
abstract Logger |
getDefaultLogger()
Get default logger. |
static LogFactory |
getFactory(java.lang.String factoryImpl)
Get a LogFactory based on the implementation class name provided as a parameter. |
Logger |
getLogger(java.lang.Class type)
Get a logger instance for the provided type. |
abstract Logger |
getLogger(java.lang.String type)
Get a logger instance for the provided type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.rhi.architecture.resource.Resource |
close, init |
Field Detail |
public static final java.lang.String KEY
Constructor Detail |
public LogFactory()
Method Detail |
public abstract Logger getDefaultLogger() throws ConfigurationException
ConfigurationException
public abstract Logger getLogger(java.lang.String type) throws ConfigurationException
type
-
ConfigurationException
public Logger getLogger(java.lang.Class type) throws ConfigurationException
type
-
ConfigurationException
public static LogFactory getFactory(java.lang.String factoryImpl) throws ConfigurationException
factoryImpl
- - the class name (fully qualified
for the LogFactory sub-class that implements the provided
functionality.
ConfigurationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |