com.opencms.launcher
Class CmsLauncherManager
java.lang.Object
|
+--com.opencms.launcher.CmsLauncherManager
- All Implemented Interfaces:
- I_CmsLogChannels
- public class CmsLauncherManager
- extends Object
- implements I_CmsLogChannels
Collects all available lauchners at startup and provides
a method for looking up the appropriate launcher class for a
given launcher id.
- Version:
- $Revision: 1.25 $ $Date: 2003/02/26 10:30:36 $
- Author:
- Alexander Lucas
| Fields inherited from interface com.opencms.boot.I_CmsLogChannels |
C_FLEX_CACHE, C_FLEX_LOADER, C_LOGGING, C_MODULE_CRITICAL, C_MODULE_DEBUG, C_MODULE_INFO, C_OPENCMS_CACHE, C_OPENCMS_CRITICAL, C_OPENCMS_CRONSCHEDULER, C_OPENCMS_DEBUG, C_OPENCMS_ELEMENTCACHE, C_OPENCMS_INFO, C_OPENCMS_INIT, C_OPENCMS_POOL, C_OPENCMS_STATICEXPORT, C_OPENCMS_STREAMING, C_PREPROCESSOR_IS_LOGGING |
|
Method Summary |
void |
clearCaches()
Clears all launchercaches. |
I_CmsLauncher |
getLauncher(int launcherId)
Looks up the appropriate launcher class instance for the given
launcher id in the internal hashtable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CmsLauncherManager
public CmsLauncherManager(OpenCms cms)
throws CmsException
- Constructor for building a new launcher manager.
Uses the C_KNOWN_LAUNCHERS array to scan for all available
launchers.
When updating to Java 1.2 this should be done by using
the Package class. Then, C_KNOWN_LAUNCHERS is
not needed any more.
- Throws:
CmsException
clearCaches
public void clearCaches()
- Clears all launchercaches.
getLauncher
public I_CmsLauncher getLauncher(int launcherId)
- Looks up the appropriate launcher class instance for the given
launcher id in the internal hashtable.
- Returns:
- I_CmsLauncher object for the requested launcher id.