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

Field Summary
 
Fields inherited from class com.objectwave.configuration.BasicPropertySource
configurationService, name
 
Constructor Summary
LoggingPropertySource()
          Constructor for the LoggingPropertySource object
 
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 com.objectwave.configuration.BasicPropertySource
getCategoryId, getConfigObject, getConfigurationInstance, getConfigurationInstance, getConfigurationService, getName, setConfigurationService, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingPropertySource

public LoggingPropertySource()
Constructor for the LoggingPropertySource object

Method Detail

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.