com.objectwave.persist.properties
Class FilePropertySource

java.lang.Object
  |
  +--com.objectwave.configuration.BasicPropertySource
        |
        +--com.objectwave.persist.properties.FilePropertySource
All Implemented Interfaces:
PropertySource

public class FilePropertySource
extends BasicPropertySource

Generated by Java Grinder This class is stateless and really acts like a finder for property support.

Version:
$Id: FilePropertySource.java,v 2.2 2002/08/12 20:29:43 dave_hoag Exp $
Author:

Nested Class Summary
static class FilePropertySource.Test
           
 
Field Summary
 
Fields inherited from class com.objectwave.configuration.BasicPropertySource
configurationService, name
 
Constructor Summary
FilePropertySource()
          Constructor for the FilePropertySource object
 
Method Summary
 java.lang.String getDataDirectory()
          Gets the DataDirectory attribute of the FilePropertySource object
 java.lang.Class getExpectedClass()
          Gets the ExpectedClass attribute of the LoggingPropertySource object
 boolean getShareAccess()
          Gets the Verbose attribute of the FilePropertySource object
 boolean getVerbose()
          Gets the Verbose attribute of the FilePropertySource object
protected  void initialize()
          Find our LoggingPropertySourceDetail instance.
 void setDataDirectory(java.lang.String aValue)
          Sets the DataDirectory attribute of the FilePropertySource object
 void setVerbose(boolean aValue)
          Sets the Verbose attribute of the FilePropertySource object
 
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

FilePropertySource

public FilePropertySource()
Constructor for the FilePropertySource object

Method Detail

setVerbose

public void setVerbose(boolean aValue)
Sets the Verbose attribute of the FilePropertySource object

Parameters:
aValue - The new Verbose value

setDataDirectory

public void setDataDirectory(java.lang.String aValue)
Sets the DataDirectory attribute of the FilePropertySource object

Parameters:
aValue - The new DataDirectory value

getExpectedClass

public java.lang.Class getExpectedClass()
Gets the ExpectedClass attribute of the LoggingPropertySource object

Returns:
The ExpectedClass value

getShareAccess

public boolean getShareAccess()
Gets the Verbose attribute of the FilePropertySource object

Returns:
The Verbose value

getVerbose

public boolean getVerbose()
Gets the Verbose attribute of the FilePropertySource object

Returns:
The Verbose value

getDataDirectory

public java.lang.String getDataDirectory()
Gets the DataDirectory attribute of the FilePropertySource object

Returns:
The DataDirectory value

initialize

protected void initialize()
Find our LoggingPropertySourceDetail instance. The PropertyDetail object will actually contain the property values.