|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.application.AbstractApplication
com.sdm.quasar.client.jsf.application.AbstractJSFApplication
com.sdm.quasar.client.showcase.jsf.application.ShowcaseApplication
This is the main application class of the Quasar JSF Showcase.
start() reads and sets up the configuration.
#generateDefaultData() adds some default data to an articlesList
for the examples. This is not necessary in normal applications.
| Constructor Summary | |
ShowcaseApplication()
|
|
| Method Summary | |
protected void |
initializeErrorHandler()
Initializes the error handling. |
void |
start()
This implementation initializes the additional application components in the following order: ErrorHandler by using initializeErrorHandler()
LoggerFactory by using #initializeLogging()
|
void |
stop()
This implementation disposed the application components in the following order if the corresponding component implements Disposable. |
| Methods inherited from class com.sdm.quasar.client.jsf.application.AbstractJSFApplication |
doSpecialWebErrorLogging, getApplicationConfiguration |
| Methods inherited from class com.sdm.quasar.client.core.application.AbstractApplication |
collectSystemInfo, extendDestructionException, getApplicationID, getConfigManager, getServiceManager, getSessionManager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ShowcaseApplication()
| Method Detail |
public void start()
AbstractApplicationErrorHandler by using AbstractApplication.initializeErrorHandler()
LoggerFactory by using #initializeLogging()
start in interface Applicationstart in class AbstractApplication
public void stop()
throws DisposeException
AbstractApplicationDisposable. Otherwise the component
is skipped.
stop in interface Applicationstop in class AbstractApplicationDisposeException - if there is an exception while disposing the componentsfor further informationprotected void initializeErrorHandler()
AbstractApplicationErrorHandlerAdapter with the
ErrorHandler that calls Application.stop() to stop the application.
The ErrorHandlerAdapter registered in this implementation
does not attempt to restrict the error to a single
dialog or session.
Depending on the client enviromnent you need to override this error handler to do something more useful.
initializeErrorHandler in class AbstractJSFApplication
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||