|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.matthias_burbach.mosaique.core.Mosaique
Is the main class of the core application.
Is **NOT** used when running Mosaique as Eclipse plug-in!
Constructor Summary | |
Mosaique(Log log)
Constructs and starts the application. |
Method Summary | |
void |
exitApplication()
Cleans up the application on exit. |
Log |
getLog()
|
java.lang.String |
getProperty(java.lang.String key)
|
StrutsConfig |
getStrutsConfig()
|
java.lang.String |
getStrutsConfigFile()
|
java.lang.String |
getVersion()
|
StrutsConfig |
openStrutsConfig()
Opens and parses the the current Struts configuration file. |
void |
setLog(Log log)
|
void |
setProperty(java.lang.String key,
java.lang.String value)
|
void |
setStrutsConfigFile(java.lang.String strutsConfigFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Mosaique(Log log) throws java.lang.Exception
log
- The log for messages.
java.lang.Exception
- if anything goes unexpectedly wrongMethod Detail |
public void exitApplication()
public java.lang.String getVersion()
public Log getLog()
null
. Can change, don't cache a reference.public void setLog(Log log)
log
- The log to write messages to. Can be set by the creator of
this class to define where to log to.public java.lang.String getProperty(java.lang.String key)
key
- The property's key.
null
if the property does not
exist.public void setProperty(java.lang.String key, java.lang.String value)
key
- The property's key. Must not be null
.value
- The property's value. Must not be null
.public java.lang.String getStrutsConfigFile()
public void setStrutsConfigFile(java.lang.String strutsConfigFile)
strutsConfigFile
- The full path of the current Struts configuration
file.public StrutsConfig getStrutsConfig()
public StrutsConfig openStrutsConfig() throws java.lang.Exception
java.lang.Exception
- if anything goes wrong
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |