com.go.trove.util
Class ConfigSupport

java.lang.Object
  |
  +--com.go.trove.util.ConfigSupport
All Implemented Interfaces:
Config
Direct Known Subclasses:
PluginConfigSupport, PluginFactoryConfigSupport

public class ConfigSupport
extends java.lang.Object
implements Config

This class provides a default implementation for the Config interface.

Version:
1 - 01/03/23
Author:
Scott Jappinen

Constructor Summary
ConfigSupport(PropertyMap properties, Log log)
           
 
Method Summary
 Log getLog()
          Returns a log object that the target for this config object should use for reporting information pertaining to the operation of the target.
 PropertyMap getProperties()
          Returns initialization parameters in an easier to use map format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigSupport

public ConfigSupport(PropertyMap properties,
                     Log log)
Method Detail

getProperties

public PropertyMap getProperties()
Returns initialization parameters in an easier to use map format.
Specified by:
getProperties in interface Config

getLog

public Log getLog()
Returns a log object that the target for this config object should use for reporting information pertaining to the operation of the target.
Specified by:
getLog in interface Config