Package org.apache.ofbiz.service.eca
Class ServiceEcaUtil
java.lang.Object
org.apache.ofbiz.service.eca.ServiceEcaUtil
ServiceEcaUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addEcaDefinitions
(ResourceHandler handler) static void
evalRules
(String serviceName, Map<String, List<ServiceEcaRule>> eventMap, String event, DispatchContext dctx, Map<String, Object> context, Map<String, Object> result, boolean isError, boolean isFailure) static Map<String,
List<ServiceEcaRule>> getServiceEventMap
(String serviceName) static List<ServiceEcaRule>
getServiceEventRules
(String serviceName, String event) static void
static void
-
Method Details
-
reloadConfig
public static void reloadConfig() -
readConfig
public static void readConfig() -
addEcaDefinitions
-
getServiceEventMap
-
getServiceEventRules
-
evalRules
public static void evalRules(String serviceName, Map<String, List<ServiceEcaRule>> eventMap, String event, DispatchContext dctx, Map<String, throws GenericServiceExceptionObject> context, Map<String, Object> result, boolean isError, boolean isFailure) - Throws:
GenericServiceException
-