|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.elca.el4j.env.xml.EnvXml
public class EnvXml
The central class get env properties configured via env.xml files.
Field Summary | |
---|---|
static String |
ENV_GROUP_BEAN_OVERRIDES
The group type name for env bean override properties. |
static String |
ENV_GROUP_PLACEHOLDERS
The group type name for env placeholders. |
static String |
ENV_XML_LOCATION
The env.xml location pattern. |
Constructor Summary | |
---|---|
EnvXml()
The env.xml configuration reader. |
|
EnvXml(ResourcePatternResolver resourcePatternResolver,
boolean mostSpecificResourceLast)
The env.xml configuration reader. |
Method Summary | |
---|---|
Object |
getGroupConfiguration(String groupType)
Get the configuration of a specif env group. |
Properties |
getOverrideValues()
|
boolean |
hasValidConfigurations()
|
void |
registerHandler(String groupType,
EnvGroupHandler handler)
Register an env group handler. |
void |
setOverrideValues(Properties overrideValues)
|
void |
unregisterHandler(String groupType)
Unregister an env group handler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ENV_GROUP_PLACEHOLDERS
public static final String ENV_GROUP_BEAN_OVERRIDES
public static final String ENV_XML_LOCATION
Constructor Detail |
---|
public EnvXml()
public EnvXml(ResourcePatternResolver resourcePatternResolver, boolean mostSpecificResourceLast)
resourcePatternResolver
- the resolver to ask for the resourcesmostSpecificResourceLast
- is most specific resource lastMethod Detail |
---|
public boolean hasValidConfigurations()
true
if at least one env.xml file could be found.public Properties getOverrideValues()
public void setOverrideValues(Properties overrideValues)
overrideValues
- the override values for variable resolutionpublic Object getGroupConfiguration(String groupType)
groupType
- the group type name
public void registerHandler(String groupType, EnvGroupHandler handler)
groupType
- the group type namehandler
- the handlerpublic void unregisterHandler(String groupType)
groupType
- the group type name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |