org.ofbiz.service.config
Class ServiceConfigUtil
java.lang.Object
org.ofbiz.service.config.ServiceConfigUtil
- All Implemented Interfaces:
- java.io.Serializable
public class ServiceConfigUtil
- extends java.lang.Object
- implements java.io.Serializable
Misc. utility method for dealing with the serviceengine.xml file
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
engine
public static final java.lang.String engine
- See Also:
- Constant Field Values
SERVICE_ENGINE_XML_FILENAME
public static final java.lang.String SERVICE_ENGINE_XML_FILENAME
- See Also:
- Constant Field Values
notificationGroupCache
protected static UtilCache<java.lang.String,java.util.Map<java.lang.String,ServiceConfigUtil.NotificationGroup>> notificationGroupCache
ServiceConfigUtil
public ServiceConfigUtil()
getXmlRootElement
public static org.w3c.dom.Element getXmlRootElement()
throws GenericConfigException
- Throws:
GenericConfigException
getElement
public static org.w3c.dom.Element getElement(java.lang.String elementName)
getElementAttr
public static java.lang.String getElementAttr(java.lang.String elementName,
java.lang.String attrName)
getSendPool
public static java.lang.String getSendPool()
getRunPools
public static java.util.List<java.lang.String> getRunPools()
getPurgeJobDays
public static int getPurgeJobDays()
getFailedRetryMin
public static int getFailedRetryMin()
readNotificationGroups
public static void readNotificationGroups()
getNotificationGroup
public static ServiceConfigUtil.NotificationGroup getNotificationGroup(java.lang.String group)