com.objectwave.logging.log4j
Class LoggingPropertySource
java.lang.Object
|
+--com.objectwave.configuration.BasicPropertySource
|
+--com.objectwave.logging.log4j.LoggingPropertySource
- All Implemented Interfaces:
- PropertySource
- public class LoggingPropertySource
- extends BasicPropertySource
This class is stateless and really acts like a finder for property support.
- Version:
- $Id: LoggingPropertySource.java,v 2.0 2001/06/11 15:46:53 dave_hoag Exp $
- Author:
- dhoag
Method Summary |
java.lang.Class |
getExpectedClass()
Gets the ExpectedClass attribute of the LoggingPropertySource object |
java.util.Properties |
getProperties()
|
protected void |
initialize()
Find our LoggingPropertySourceDetail instance. |
boolean |
isInitializingLog4j()
Gets the InitializingLog4j attribute of the LoggingPropertySource object. |
boolean |
useDefault()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingPropertySource
public LoggingPropertySource()
- Constructor for the LoggingPropertySource object
getExpectedClass
public java.lang.Class getExpectedClass()
- Gets the ExpectedClass attribute of the LoggingPropertySource object
- Returns:
- The ExpectedClass value
getProperties
public java.util.Properties getProperties()
- Returns:
- The Properties value
isInitializingLog4j
public boolean isInitializingLog4j()
- Gets the InitializingLog4j attribute of the LoggingPropertySource object.
If true, the MessageLog code should initialize the Log4j loggine engine.
- Returns:
- The InitializingLog4j value
useDefault
public boolean useDefault()
- Returns:
initialize
protected void initialize()
- Find our LoggingPropertySourceDetail instance. The PropertyDetail object
will actually contain the property values.