Package org.apache.ofbiz.base.container
Class ContainerConfig
- java.lang.Object
-
- org.apache.ofbiz.base.container.ContainerConfig
-
public class ContainerConfig extends java.lang.Object
ContainerConfig - Container configuration for ofbiz.xml
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContainerConfig.Configuration
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContainerConfig.Configuration
getConfiguration(java.lang.String containerName, java.lang.String configFile)
static java.util.Collection<ContainerConfig.Configuration>
getConfigurations(java.lang.String configFile)
static java.util.Collection<ContainerConfig.Configuration>
getConfigurations(java.net.URL xmlUrl)
static boolean
getPropertyValue(ContainerConfig.Configuration.Property parentProp, java.lang.String name, boolean defaultValue)
static int
getPropertyValue(ContainerConfig.Configuration.Property parentProp, java.lang.String name, int defaultValue)
static java.lang.String
getPropertyValue(ContainerConfig.Configuration.Property parentProp, java.lang.String name, java.lang.String defaultValue)
static boolean
getPropertyValue(ContainerConfig.Configuration parentProp, java.lang.String name, boolean defaultValue)
static int
getPropertyValue(ContainerConfig.Configuration parentProp, java.lang.String name, int defaultValue)
static java.lang.String
getPropertyValue(ContainerConfig.Configuration parentProp, java.lang.String name, java.lang.String defaultValue)
-
-
-
Method Detail
-
getConfiguration
public static ContainerConfig.Configuration getConfiguration(java.lang.String containerName, java.lang.String configFile) throws ContainerException
- Throws:
ContainerException
-
getConfigurations
public static java.util.Collection<ContainerConfig.Configuration> getConfigurations(java.lang.String configFile) throws ContainerException
- Throws:
ContainerException
-
getConfigurations
public static java.util.Collection<ContainerConfig.Configuration> getConfigurations(java.net.URL xmlUrl) throws ContainerException
- Throws:
ContainerException
-
getPropertyValue
public static java.lang.String getPropertyValue(ContainerConfig.Configuration parentProp, java.lang.String name, java.lang.String defaultValue)
-
getPropertyValue
public static int getPropertyValue(ContainerConfig.Configuration parentProp, java.lang.String name, int defaultValue)
-
getPropertyValue
public static boolean getPropertyValue(ContainerConfig.Configuration parentProp, java.lang.String name, boolean defaultValue)
-
getPropertyValue
public static java.lang.String getPropertyValue(ContainerConfig.Configuration.Property parentProp, java.lang.String name, java.lang.String defaultValue)
-
getPropertyValue
public static int getPropertyValue(ContainerConfig.Configuration.Property parentProp, java.lang.String name, int defaultValue)
-
getPropertyValue
public static boolean getPropertyValue(ContainerConfig.Configuration.Property parentProp, java.lang.String name, boolean defaultValue)
-
-