org.gcube.vremanagement.resourcebroker.impl.configuration
Class BrokerConfiguration
java.lang.Object
org.gcube.vremanagement.resourcebroker.impl.configuration.BrokerConfiguration
public final class BrokerConfiguration
- extends java.lang.Object
Adds support for accessing configuration properties.
- Author:
- Daniele Strollo (ISTI-CNR)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setConfigurationFile
public static void setConfigurationFile(java.lang.String filename)
getProperties
public static java.util.Properties getProperties()
getProperty
public static java.lang.String getProperty(java.lang.String key)
throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
getIntProperty
public static int getIntProperty(java.lang.String key)
throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
getBoolProperty
public static boolean getBoolProperty(java.lang.String key)
throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
getRawProperty
public static java.lang.Object getRawProperty(java.lang.String key)
throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException