|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.server.SesameServer
Static object that represents a locally running Sesame server.
| Constructor Summary | |
SesameServer()
|
|
| Method Summary | |
static void |
addListener(SystemConfigCenterListener listener)
Adds a SystemConfigCenterListener |
static void |
clear()
Clears the LocalService |
static void |
createLocalService()
Creates a LocalService object with the supplied SystemConfig. |
static File |
getBaseDir()
Gets the base dir against which to resolve relative paths (null if not set). |
static LocalService |
getLocalService()
Retrieves a LocalService object that can be used to access local repositories automatically |
static SystemConfig |
getSystemConfig()
Gets the current system configuration of the system. |
static String |
getVersion()
Gets the version of this code base. |
static void |
removeListener(SystemConfigCenterListener listener)
Removes a SystemConfigCenterListener |
static void |
setBaseDir(File baseDir)
Sets the base dir against which to resolve relative paths. |
static void |
setDefaultLogFile(String fileName)
Sets the default log file for all threads that have not registered themselves with ThreadLog. |
static void |
setSystemConfig(SystemConfig newConfig)
Sets a new system configuration for the system. |
static void |
setThreadLogFile(String fileName)
Sets the log file for the thread calling this method. |
static void |
setThreadLogFileForRepository(String repositoryID)
Sets the log file for the thread calling this method. |
static void |
unsetDefaultLogFile()
Unsets the default log file. |
static void |
unsetThreadLogFile()
Unsets the log file for the thread calling this method. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SesameServer()
| Method Detail |
public static void createLocalService()
public static LocalService getLocalService()
public static SystemConfig getSystemConfig()
public static void setSystemConfig(SystemConfig newConfig)
newConfig - the new SystemConfigpublic static void setBaseDir(File baseDir)
public static File getBaseDir()
public static void setDefaultLogFile(String fileName)
public static void unsetDefaultLogFile()
public static void setThreadLogFile(String fileName)
public static void setThreadLogFileForRepository(String repositoryID)
public static void unsetThreadLogFile()
public static String getVersion()
public static void clear()
public static void addListener(SystemConfigCenterListener listener)
listener - SystemConfigCenterListenerpublic static void removeListener(SystemConfigCenterListener listener)
listener - SystemConfigCenterListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||