org.ws4d.java.configuration
Class GlobalPropertiesHandler

java.lang.Object
  extended by org.ws4d.java.configuration.GlobalPropertiesHandler
All Implemented Interfaces:
PropertiesHandler

public class GlobalPropertiesHandler
extends java.lang.Object
implements PropertiesHandler


Field Summary
static java.lang.String PROP_LOG_LEVEL
           
static java.lang.String PROP_LOG_STACK_TRACE
           
static java.lang.String PROP_LOG_TIMESTAMP
           
 
Fields inherited from interface org.ws4d.java.configuration.PropertiesHandler
FALSE, TRUE
 
Method Summary
 void finishedSection(int depth)
          This method indicates the PropertiesHandler, that the last section with the given depth has been read completely.
static GlobalPropertiesHandler getInstance()
          Get instance of this.
 void setProperties(PropertyHeader header, Property property)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_LOG_LEVEL

public static final java.lang.String PROP_LOG_LEVEL
See Also:
Constant Field Values

PROP_LOG_TIMESTAMP

public static final java.lang.String PROP_LOG_TIMESTAMP
See Also:
Constant Field Values

PROP_LOG_STACK_TRACE

public static final java.lang.String PROP_LOG_STACK_TRACE
See Also:
Constant Field Values
Method Detail

getInstance

public static GlobalPropertiesHandler getInstance()
Get instance of this.

Returns:
the singleton instance of the global properties handler

setProperties

public void setProperties(PropertyHeader header,
                          Property property)
Specified by:
setProperties in interface PropertiesHandler
Parameters:
header - header of section
property - property within section

finishedSection

public void finishedSection(int depth)
Description copied from interface: PropertiesHandler
This method indicates the PropertiesHandler, that the last section with the given depth has been read completely.

Specified by:
finishedSection in interface PropertiesHandler
Parameters:
depth - depth of section.