jbpm-form-modeler-common 1.0-SNAPSHOT

org.jbpm.formModeler.service.bb.commons.config
Class ConfigurationManager

java.lang.Object
  extended by org.jbpm.formModeler.service.bb.commons.config.ConfigurationManager

public class ConfigurationManager
extends Object

Cross-platform class containing some useful information regarding the application like the application install directory or information about the release build number.


Method Summary
 void clear()
          Description of the Method
 String getBaseAppDirectory()
          Gets the baseAppDirectory attribute of the ConfigurationManager object
 String getBaseCfgDirectory()
          Gets the baseCfgDirectory attribute of the ConfigurationManager object
 Factory getGlobalFactory()
           
 Object getParameter(String sectionId, String param)
           
 boolean load(ConfigurationLoader loader)
          Description of the Method
 void setBaseAppDirectory(String newBaseAppDirectory)
          Sets the baseAppDirectory attribute of the ConfigurationManager object
 void setBaseCfgDirectory(String newBaseCfgDirectory)
          Sets the baseCfgDirectory attribute of the ConfigurationManager object
 void setGlobalFactory(Factory globalFactory)
           
static ConfigurationManager singleton()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public void clear()
Description of the Method


getBaseAppDirectory

public String getBaseAppDirectory()
Gets the baseAppDirectory attribute of the ConfigurationManager object

Returns:
The baseAppDirectory value

getBaseCfgDirectory

public String getBaseCfgDirectory()
Gets the baseCfgDirectory attribute of the ConfigurationManager object

Returns:
The baseCfgDirectory value

getParameter

public Object getParameter(String sectionId,
                           String param)
                    throws ParameterNotFoundException
Throws:
ParameterNotFoundException

load

public boolean load(ConfigurationLoader loader)
             throws Exception
Description of the Method

Parameters:
loader - Description of the Parameter
Returns:
Description of the Return Value
Throws:
Exception - Description of the Exception

setBaseAppDirectory

public void setBaseAppDirectory(String newBaseAppDirectory)
Sets the baseAppDirectory attribute of the ConfigurationManager object

Parameters:
newBaseAppDirectory - The new baseAppDirectory value

setBaseCfgDirectory

public void setBaseCfgDirectory(String newBaseCfgDirectory)
Sets the baseCfgDirectory attribute of the ConfigurationManager object

Parameters:
newBaseCfgDirectory - The new baseCfgDirectory value

singleton

public static ConfigurationManager singleton()
Description of the Method

Returns:
Description of the Return Value

getGlobalFactory

public Factory getGlobalFactory()

setGlobalFactory

public void setGlobalFactory(Factory globalFactory)

jbpm-form-modeler-common 1.0-SNAPSHOT

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