|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hardtokenmgmt.core.settings.BasicGlobalSettings
public class BasicGlobalSettings
Base class containing the most vital functionality, used in the WS server part.
| Field Summary | |
|---|---|
protected java.util.Properties |
settings
|
| Constructor Summary | |
|---|---|
BasicGlobalSettings()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getCustomInterface(java.lang.String setting)
Method returning a custom interface implementation from the global configuration settings |
java.lang.Object |
getCustomInterface(java.lang.String setting,
java.lang.Class<?> defaultImplementation)
Method returning a custom interface implementation from the global configuration settings |
long |
getExpireThreshould()
|
java.util.Properties |
getProperties()
Special method used to get access to the Global properties manually |
java.lang.String |
getProperty(java.lang.String key)
Help method do fetch a global settings, the returned value is trimmed. |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Help method do fetch a global settings with a default value, the returned value is trimmed. |
boolean |
getPropertyAsBoolean(java.lang.String key)
Help method do fetch a global settings and expects either TRUE of FALSE otherwise is a Runtime BadConfigurationException thrown. |
boolean |
getPropertyAsBoolean(java.lang.String key,
boolean defaultValue)
Help method do fetch a global settings and expects either TRUE of FALSE otherwise is a Runtime BadConfigurationException thrown. |
int |
getPropertyAsInt(java.lang.String key)
Help method do fetch a global settings and expects an integer value otherwise is a Runtime BadConfigurationException thrown. |
int |
getPropertyAsInt(java.lang.String key,
int defaultValue)
Help method do fetch a global settings and expects an integer value otherwise is a Runtime BadConfigurationException thrown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Properties settings
| Constructor Detail |
|---|
public BasicGlobalSettings()
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public java.util.Properties getProperties()
public java.lang.Object getCustomInterface(java.lang.String setting)
public java.lang.Object getCustomInterface(java.lang.String setting,
java.lang.Class<?> defaultImplementation)
public long getExpireThreshould()
public java.lang.String getProperty(java.lang.String key)
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
public boolean getPropertyAsBoolean(java.lang.String key)
public boolean getPropertyAsBoolean(java.lang.String key,
boolean defaultValue)
public int getPropertyAsInt(java.lang.String key)
public int getPropertyAsInt(java.lang.String key,
int defaultValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||