|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jsieve.ConfigurationManager
public class ConfigurationManager
ConfigurationManager parses the XML statements
in the Sieve configuration file and translates them to Java objects.
The Sieve configuration is read from 3 properties file. They are located by searching the classpath of the current ClassLoader. org/apache/jsieve/commandsmap.properties org/apache/jsieve/testsmap.properties org/apache/jsieve/comparatorsmap.properties
| Constructor Summary | |
|---|---|
ConfigurationManager()
Constructor for ConfigurationManager. |
|
| Method Summary | |
|---|---|
SieveFactory |
build()
|
CommandManager |
getCommandManager()
|
java.util.Map |
getCommandMap()
Method getCommandMap answers a Map of Command names and their associated class names, lazily initialized if required. |
ComparatorManager |
getComparatorManager()
|
java.util.Map |
getComparatorMap()
Method getComparatorMap answers a Map of Comparator names and their associated class names, lazily initialized if required. |
org.apache.commons.logging.Log |
getLog()
|
TestManager |
getTestManager()
|
java.util.Map |
getTestMap()
Method getTestMap answers a Map of Test names and their associated class names, lazily initialized if required. |
void |
setLog(org.apache.commons.logging.Log log)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationManager()
throws SieveConfigurationException
SieveConfigurationException| Method Detail |
|---|
public java.util.Map getCommandMap()
public java.util.Map getTestMap()
public java.util.Map getComparatorMap()
public ComparatorManager getComparatorManager()
public CommandManager getCommandManager()
public TestManager getTestManager()
public org.apache.commons.logging.Log getLog()
public void setLog(org.apache.commons.logging.Log log)
public SieveFactory build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||