com.notuvy.util
Class MainContext
java.lang.Object
com.notuvy.util.MainContext
public class MainContext
- extends Object
The framework for setting up the context for a standalone application.
It sets system properties that define the application directory, and it
initializes the logging.
It must be immutable.
User: murali
Date: Jan 14, 2009
Time: 9:28:35 AM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APP_PROPERTY_LOG_NAME
public static final String APP_PROPERTY_LOG_NAME
- See Also:
- Constant Field Values
MainContext
public MainContext(String pSubDir,
Class pReferenceClass)
getAppDir
public Directory getAppDir()
getMainLogger
public org.apache.log4j.Logger getMainLogger()
Copyright © 2013. All Rights Reserved.