jhomenet.server.configuration
Class AbstractServerConfigurationXmlRepository

java.lang.Object
  extended by jhomenet.server.configuration.AbstractServerConfigurationXmlRepository
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener
Direct Known Subclasses:
ServerConfigurationXmlDom4jRepository

public abstract class AbstractServerConfigurationXmlRepository
extends java.lang.Object
implements java.beans.PropertyChangeListener

An abstract server configuration repository.

Id: $Id: /cvsroot/jhomenet/files/src/jhomenet/ $

Author:
Dave Irwin (jhomenet at gmail dot com)

Constructor Summary
AbstractServerConfigurationXmlRepository()
          Constructor.
 
Method Summary
 java.lang.String getFilepath()
           
abstract  void load(ServerSystemConfigurationImpl serverConfiguration)
           
 void propertyChange(java.beans.PropertyChangeEvent arg0)
           
abstract  void update(ServerSystemConfigurationImpl serverConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractServerConfigurationXmlRepository

public AbstractServerConfigurationXmlRepository()
Constructor.

Method Detail

getFilepath

public final java.lang.String getFilepath()
Returns:
The server settings configuration filename (including configuration folder)

load

public abstract void load(ServerSystemConfigurationImpl serverConfiguration)
                   throws ParsingException
Parameters:
serverConfiguration -
Throws:
ParsingException

update

public abstract void update(ServerSystemConfigurationImpl serverConfiguration)
                     throws ParsingException
Parameters:
serverConfiguration -
Throws:
ParsingException

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent arg0)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
See Also:
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)


Copyright © 2004-2007 David Irwin. All Rights Reserved.