org.jbpm.integration.console.shared
Class PropertyLoader

java.lang.Object
  extended by org.jbpm.integration.console.shared.PropertyLoader

public class PropertyLoader
extends Object


Constructor Summary
PropertyLoader()
           
 
Method Summary
static Properties getJbpmConsoleProperties()
          This method loads the jbpm console properties, if they haven't been loaded already.
static InputStream getStreamForConfigFile(String file, String defaultFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyLoader

public PropertyLoader()
Method Detail

getJbpmConsoleProperties

public static Properties getJbpmConsoleProperties()
This method loads the jbpm console properties, if they haven't been loaded already. It allows to provide custom configuration that is outside of the application archive. If not given it will use one that is embedded in the console as default one.


getStreamForConfigFile

public static InputStream getStreamForConfigFile(String file,
                                                 String defaultFile)
                                          throws IOException
Throws:
IOException


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