| |
|
| java.lang.Object net.jforum.ConfigLoader
ConfigLoader | public class ConfigLoader (Code) | | General utilities methods for loading configurations for JForum.
author: Rafael Steil version: $Id: ConfigLoader.java,v 1.30 2007/07/27 15:42:56 rafaelsteil Exp $ |
createLoginAuthenticator | public static void createLoginAuthenticator()(Code) | | |
listenForChanges | public static void listenForChanges()(Code) | | Listen for changes in common configuration files.
The watched files are: generic_queries.sql,
<database_name>.sql, SystemGlobals.properties
and <user.name>.properties
|
listenInstallationConfig | public static void listenInstallationConfig()(Code) | | |
loadDaoImplementation | public static void loadDaoImplementation()(Code) | | |
loadModulesMapping | public static Properties loadModulesMapping(String baseConfigDir)(Code) | | Loads module mappings for the system.
Parameters: baseConfigDir - The directory where the file modulesMapping.properties is. The java.util.Properties instance, with the loaded modules |
loadUrlPatterns | public static void loadUrlPatterns()(Code) | | Load url patterns.
The method tries to load url patterns from WEB-INF/config/urlPattern.properties
|
startCacheEngine | public static void startCacheEngine()(Code) | | |
startPop3Integration | public static void startPop3Integration() throws SchedulerException(Code) | | |
startSearchIndexer | public static void startSearchIndexer()(Code) | | |
startSummaryJob | public static void startSummaryJob() throws SchedulerException(Code) | | Init a Job who will send e-mails to the all users with a summary of posts...
throws: SchedulerException - throws: IOException - |
startSystemglobals | public static void startSystemglobals(String appPath)(Code) | | Start ( or restart ) SystemGlobals .
This method loads all configuration keys set at
SystemGlobals.properties, <user.name>.properties
and database specific stuff.
Parameters: appPath - The application root's directory |
stopCacheEngine | public static void stopCacheEngine()(Code) | | |
|
|
|