org.naftulin.configmgr.parsers
Class ConfigurationRecordsToEntriesConverter

java.lang.Object
  extended by org.naftulin.configmgr.parsers.ConfigurationRecordsToEntriesConverter

public class ConfigurationRecordsToEntriesConverter
extends java.lang.Object

Converts records that were parsed from the configuration file into configuration entries. Given a master record produces an array of configuration entries.

Since:
1.0
Author:
Henry Naftulin

Constructor Summary
ConfigurationRecordsToEntriesConverter()
           
 
Method Summary
 ConfigurationManagementEntry[] createConfigurationEntriesFromConfigurationFile(java.lang.String configurationFileName)
          Parses the master configuration file and creates configuration management entries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationRecordsToEntriesConverter

public ConfigurationRecordsToEntriesConverter()
Method Detail

createConfigurationEntriesFromConfigurationFile

public ConfigurationManagementEntry[] createConfigurationEntriesFromConfigurationFile(java.lang.String configurationFileName)
                                                                               throws ConfigurationManagerException
Parses the master configuration file and creates configuration management entries. If JMX is set to true, will register Configuration manager with MBean server.

Parameters:
configurationFileName - the file name for the master configuration file.
Returns:
configuration management entries described in the master configuration file.
Throws:
ConfigurationManagerException - if master configuration cannot be read.


Copyright © 2009. All Rights Reserved.