jrunx.connectorinstaller
Class PropertyFileEditor

java.lang.Object
  |
  +--jrunx.connectorinstaller.PropertyFileEditor

public final class PropertyFileEditor
extends java.lang.Object

This class contains the "database" for the web server connector configurations. Note: this class does not lock the properties file to prevent more than one reader/writer at a time. todo: use timestamp detection - if file changed since read, either notify user or reload


Constructor Summary
PropertyFileEditor()
           
 
Method Summary
 WebServerInfo findEntry(WebServerInfo wsInfo)
           
 WebServerInfo nextEntry()
           
 void removeEntry(java.lang.String key)
           
 void resetEnumerator()
           
 void updateEntry(java.lang.String key, WebServerInfo wsInfo, CIJndi jrunInfo)
           
 void writePropertyFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyFileEditor

public PropertyFileEditor()
                   throws java.io.IOException,
                          ConnectorInstallerException
Method Detail

writePropertyFile

public void writePropertyFile()
                       throws java.io.IOException

resetEnumerator

public void resetEnumerator()

nextEntry

public WebServerInfo nextEntry()

updateEntry

public void updateEntry(java.lang.String key,
                        WebServerInfo wsInfo,
                        CIJndi jrunInfo)
                 throws ConnectorInstallerException

removeEntry

public void removeEntry(java.lang.String key)

findEntry

public WebServerInfo findEntry(WebServerInfo wsInfo)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.