|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.fuse.FUSEEnvironment
public class FUSEEnvironment
FUSEEnvironment is as a central class for environment variables
Constructor Summary | |
---|---|
FUSEEnvironment()
|
Method Summary | |
---|---|
static AccessControl |
getAccessControl()
Returns accesscontrol object |
static FUSEAuthenticator |
getAuthenticator()
|
static DatabaseProxy |
getDatabaseProxy()
|
static int |
getIntProperty(java.lang.String name)
Returns an integer property |
static int |
getIntProperty(java.lang.String name,
int def)
Returns an integer property |
static java.util.Properties |
getProperties()
|
static java.lang.String |
getProperty(java.lang.String name)
Get one named property |
static java.lang.String |
getProperty(java.lang.String name,
java.lang.String def)
Get one named property and use default if not found |
static FUSERegister |
getRegister()
|
static SecretKey |
getSecretKey()
|
static java.util.Date |
getStartupTime()
Returns the time when the server was started up |
static java.lang.String |
getVersion()
Returns the FUSEServer version |
static void |
init(java.lang.String tpropertiesFile)
Initialize properties |
static void |
reloadProperties()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FUSEEnvironment()
Method Detail |
---|
public static void reloadProperties() throws java.lang.Exception
java.lang.Exception
public static SecretKey getSecretKey()
public static void init(java.lang.String tpropertiesFile) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getVersion()
public static java.util.Date getStartupTime()
public static FUSERegister getRegister()
public static FUSEAuthenticator getAuthenticator()
public static DatabaseProxy getDatabaseProxy()
public static int getIntProperty(java.lang.String name, int def)
public static int getIntProperty(java.lang.String name) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public static AccessControl getAccessControl()
public static java.lang.String getProperty(java.lang.String name)
public static java.util.Properties getProperties()
public static java.lang.String getProperty(java.lang.String name, java.lang.String def)
name
- def
- default
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |