com.konakart.bl.modules
Class BaseModule

java.lang.Object
  extended by com.konakart.bl.modules.BaseModule
Direct Known Subclasses:
BaseOrderTotalModule, BasePaymentModule, BaseShippingModule

public class BaseModule
extends java.lang.Object

Base class for all modules.


Field Summary
static java.lang.String basePackage
          Base package
protected static org.apache.commons.logging.Log log
          the log
 
Constructor Summary
BaseModule()
           
 
Method Summary
protected  java.util.ResourceBundle getResourceBundle(java.lang.String mutex, java.lang.String bundleName, java.util.HashMap resourceBundleMap, java.util.Locale locale)
          The resource bundle is fetched for the locale and stored in a static hash table.
protected  boolean isAvailable(com.konakart.app.KKEng eng, java.lang.String configKey)
          Returns true or false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
the log


basePackage

public static final java.lang.String basePackage
Base package

See Also:
Constant Field Values
Constructor Detail

BaseModule

public BaseModule()
Method Detail

getResourceBundle

protected java.util.ResourceBundle getResourceBundle(java.lang.String mutex,
                                                     java.lang.String bundleName,
                                                     java.util.HashMap resourceBundleMap,
                                                     java.util.Locale locale)
                                              throws com.konakart.app.KKException
The resource bundle is fetched for the locale and stored in a static hash table. Next time around it is retrieved from the hash table.

Parameters:
bundleName -
resourceBundleMap -
locale -
Returns:
The resource bundle referenced by the locale
Throws:
com.konakart.app.KKException

isAvailable

protected boolean isAvailable(com.konakart.app.KKEng eng,
                              java.lang.String configKey)
                       throws com.konakart.app.KKException
Returns true or false

Throws:
com.konakart.app.KKException


Copyright © 2006 DS Data Systems UK Ltd.