|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.common.logging.LogManagerFactory
public class LogManagerFactory
A factory class to load the appropriate implementation of Logger API as specified by properties.
| Field Summary | |
|---|---|
static String |
DEFAULT_PACKAGE_NAME
The default package where all the implementations reside. |
private static LogManager |
mSingletonInstance
Holds a singleton instance that is populated via the loadSingletonInstance() method. |
| Constructor Summary | |
|---|---|
LogManagerFactory()
|
|
| Method Summary | |
|---|---|
static LogManager |
loadInstance(PegasusProperties properties)
Loads the appropriate LogManager class as specified by properties. |
static LogManager |
loadInstance(String implementor,
String formatImplementor,
Properties properties)
Loads the Log Formatter specified. |
static LogManager |
loadSingletonInstance()
Loads the appropriate LogManager class as specified by properties. |
static LogManager |
loadSingletonInstance(PegasusProperties properties)
Loads the appropriate LogManager class as specified by properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_PACKAGE_NAME
private static LogManager mSingletonInstance
| Constructor Detail |
|---|
public LogManagerFactory()
| Method Detail |
|---|
public static LogManager loadSingletonInstance()
throws LogManagerFactoryException
LogManagerFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME
public static LogManager loadSingletonInstance(PegasusProperties properties)
throws LogManagerFactoryException
properties - is an instance of properties to use.
LogManagerFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME
public static LogManager loadInstance(PegasusProperties properties)
throws LogManagerFactoryException
properties - is an instance of properties to use.
LogManagerFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME
public static LogManager loadInstance(String implementor,
String formatImplementor,
Properties properties)
throws LogManagerFactoryException
implementor - the name of the class implementing LogManagerformatImplementor - the name of the class implementing the formatting techniqueproperties - properties
LogManagerFactoryException - that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||