org.ofbiz.service.mail
Class ServiceMcaUtil

java.lang.Object
  extended by org.ofbiz.service.mail.ServiceMcaUtil

public class ServiceMcaUtil
extends java.lang.Object


Field Summary
static UtilCache<java.lang.String,ServiceMcaRule> mcaCache
           
static java.lang.String module
           
 
Constructor Summary
ServiceMcaUtil()
           
 
Method Summary
static void addMcaDefinitions(ResourceHandler handler)
           
static void evalRules(LocalDispatcher dispatcher, MimeMessageWrapper wrapper, GenericValue userLogin)
           
static java.util.List<ServiceMcaRule> getServiceMcaRules()
           
static void readConfig()
           
static void reloadConfig()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module

mcaCache

public static UtilCache<java.lang.String,ServiceMcaRule> mcaCache
Constructor Detail

ServiceMcaUtil

public ServiceMcaUtil()
Method Detail

reloadConfig

public static void reloadConfig()

readConfig

public static void readConfig()

addMcaDefinitions

public static void addMcaDefinitions(ResourceHandler handler)

getServiceMcaRules

public static java.util.List<ServiceMcaRule> getServiceMcaRules()

evalRules

public static void evalRules(LocalDispatcher dispatcher,
                             MimeMessageWrapper wrapper,
                             GenericValue userLogin)
                      throws GenericServiceException
Throws:
GenericServiceException