|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.basics.nodecommon.ConfigUtil
public class ConfigUtil
Simplified access to Configuration information. Requires access to the root node.
| Constructor Summary | |
|---|---|
ConfigUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getGlobalParam(java.lang.String name,
java.lang.String defaultVal,
SandRoot root)
Return the value of the given global parameter if found, otherwise return the given default value. |
static SimpleMailSender |
initSimpleMailSender(SandRoot root,
Logger logger)
Init a SimpleMailSender instance and return it, or throw if anything goes wrong. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigUtil()
| Method Detail |
|---|
public static java.lang.String getGlobalParam(java.lang.String name,
java.lang.String defaultVal,
SandRoot root)
public static SimpleMailSender initSimpleMailSender(SandRoot root,
Logger logger)
throws SandException
SandException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||