Common tools library 6.0.0-SNAPSHOT

org.jboss.dashboard.toolkit.factory
Class ConfigFactory

java.lang.Object
  extended by org.jboss.dashboard.toolkit.factory.ConfigFactory

public class ConfigFactory
extends Object


Constructor Summary
ConfigFactory(String propertyFile, String factoryPath)
           
ConfigFactory(String propertyFile, String factoryPath, String ignoredPrefixesList)
           
 
Method Summary
protected  String evaluateConverterFunction(String functionName, String functionArg)
           
 boolean existsCustomConfigForComponent(String component)
           
 String getConfigurationValue(String path)
           
 String getFactoryPath()
           
 String getPropertyFile()
           
 boolean isFactoryProperty(String propertyName)
           
 void modifyComponent(String componentPath, Properties propsToSave)
           
 void modifyConfiguration()
           
 void processConfigValue(String propertyName, String propertyValue)
           
 void setFactoryPath(String factoryPath)
           
 void setPropertyFile(String propertyFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigFactory

public ConfigFactory(String propertyFile,
                     String factoryPath)

ConfigFactory

public ConfigFactory(String propertyFile,
                     String factoryPath,
                     String ignoredPrefixesList)
Method Detail

modifyConfiguration

public void modifyConfiguration()
                         throws IOException
Throws:
IOException

isFactoryProperty

public boolean isFactoryProperty(String propertyName)

processConfigValue

public void processConfigValue(String propertyName,
                               String propertyValue)
                        throws IOException
Throws:
IOException

evaluateConverterFunction

protected String evaluateConverterFunction(String functionName,
                                           String functionArg)

modifyComponent

public void modifyComponent(String componentPath,
                            Properties propsToSave)
                     throws IOException
Throws:
IOException

existsCustomConfigForComponent

public boolean existsCustomConfigForComponent(String component)

getConfigurationValue

public String getConfigurationValue(String path)
                             throws IOException
Throws:
IOException

getFactoryPath

public String getFactoryPath()

setFactoryPath

public void setFactoryPath(String factoryPath)

getPropertyFile

public String getPropertyFile()

setPropertyFile

public void setPropertyFile(String propertyFile)

Common tools library 6.0.0-SNAPSHOT

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.