|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectco.uk.hjcs.canyon.config.ConfigParser
public class ConfigParser
The ConfigParser parses the canyon.cfg.xml files and triggers the parsing of the mapping files. The result is the SessionConfig objects required by the SessionFactory to create the Sessions.
| Method Summary | |
|---|---|
static ConfigParser |
getCanyonConfigParser(java.lang.String configName)
|
java.lang.String |
getConfigResourceName()
|
SessionConfig |
getSessionConfig(java.lang.String sessionName)
Get the configuratio for the named session |
java.util.Collection<SessionConfig> |
getSessionConfigs()
A collection of all the registered configuration objects |
boolean |
isServiceAvailable()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final ConfigParser getCanyonConfigParser(java.lang.String configName)
configName - - the name of the resource to use to obtain the
configuration details
public java.lang.String getConfigResourceName()
public final boolean isServiceAvailable()
public SessionConfig getSessionConfig(java.lang.String sessionName)
sessionName -
public java.util.Collection<SessionConfig> getSessionConfigs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||