A kernel that represents a hub for internal "globally" used
jwma functions & data (system settings).
This class implements the singleton pattern, which means there is
only one instance throughout run-time.
author: Dieter Wimberger version: 0.9.7 07/02/2003
getPrefsPersistencePlugin() Returns the active and activated PreferencesPersistencePlugin
instance that provides the persistency related functionality.
getViewUrl(String view) Returns the site's configured view URL for the given view
as String.
The String parameter passed in has to be
one of the defined abstract view constants.
Parameters: view - representing one of the constants defining an abstractview.
Returns the active and activated ContactManagementPlugin
instance that provides contact management related functionality.
See Also:dtw.webmail.plugin.ContactManagementPlugin
Returns the controller URL setting of the local
jwma installation.
local controller's URL as String.
getMessageProcessor
public Processor getMessageProcessor(String name)(Code)
Returns the message processor indicated by the given
name. If the name does not refer to any processing pipe,
then the default processing pipe will be returned.
Parameters: name - String that should represent a valid processingpipe name. Processor to be used for message processing.
Returns the active and activated RandomAppendPlugin
instance that provides random appending functionality.
This method returns null if no such plugin is registered.
See Also:dtw.webmail.plugin.RandomAppendPlugin
Returns the reference of the JwmaKernel singleton
instance.
Note:this also implements kind of a factory method pattern.
If the singleton instance does not exist yet, it will be created.
reference of the JwmaKernel singletoninstance.
Prepares the kernel for service.
Parameters: path - representing the root directory where jwma'sfiles reside, as String. throws: Exception - when it fails to load the properties orset up system functionality according to the settingsin the properties.