|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IApplicationSettings
Settings interface for application settings.
internalErrorPage - You can override this with your own page class to display internal errors in a different way.
pageExpiredErrorPage - You can override this with your own bookmarkable page class to display expired page errors in a different way. You can set property homePageRenderStrategy to choose from different ways the home page url shows up in your browser.
A Converter Factory - By overriding getConverterFactory(), you can provide your own factory which creates locale sensitive Converter instances.
| Method Summary | |
|---|---|
java.lang.Class |
getAccessDeniedPage()
Gets the access denied page class. |
IClassResolver |
getClassResolver()
Gets the default resolver to use when finding classes |
java.lang.String |
getContextPath()
Gets context path to use for absolute path generation. |
IConverterFactory |
getConverterFactory()
Gets the converter factory. |
java.util.Locale |
getDefaultLocale()
|
java.lang.Class |
getInternalErrorPage()
Gets internal error page class. |
java.lang.Class |
getPageExpiredErrorPage()
Gets the page expired page class. |
void |
setAccessDeniedPage(java.lang.Class accessDeniedPage)
Sets the access denied page class. |
void |
setClassResolver(IClassResolver defaultClassResolver)
Sets the default class resolver to use when finding classes. |
void |
setContextPath(java.lang.String contextPath)
Sets context path to use for absolute path generation. |
void |
setConverterFactory(IConverterFactory factory)
Sets converter factory |
void |
setDefaultLocale(java.util.Locale defaultLocale)
|
void |
setInternalErrorPage(java.lang.Class internalErrorPage)
Sets internal error page class. |
void |
setPageExpiredErrorPage(java.lang.Class pageExpiredErrorPage)
Sets the page expired page class. |
| Method Detail |
|---|
java.lang.Class getAccessDeniedPage()
setAccessDeniedPage(Class)IClassResolver getClassResolver()
java.lang.String getContextPath()
appserver.com/context mapped to webserver/ (context path should be '/')
what the possible values
can be.IConverterFactory getConverterFactory()
java.util.Locale getDefaultLocale()
java.lang.Class getInternalErrorPage()
setInternalErrorPage(Class)java.lang.Class getPageExpiredErrorPage()
setPageExpiredErrorPage(Class)void setAccessDeniedPage(java.lang.Class accessDeniedPage)
accessDeniedPage - The accessDeniedPage to set.void setClassResolver(IClassResolver defaultClassResolver)
defaultClassResolver - The default class resolvervoid setContextPath(java.lang.String contextPath)
appserver.com/context mapped to webserver/ (context path should be '/')
This method can be called in the init phase of the application with the
servlet init parameter Application.CONTEXTPATH if it is specified
or by the developer itself in the WebApplication init() method.
If it is not set in the init phase of the application it will be set
automatically on the context path of the request
WebRequest.getContextPath()
contextPath - The context path to use.void setConverterFactory(IConverterFactory factory)
factory - new factoryvoid setDefaultLocale(java.util.Locale defaultLocale)
defaultLocale - The defaultLocale to set.void setInternalErrorPage(java.lang.Class internalErrorPage)
internalErrorPage - The internalErrorPage to set.void setPageExpiredErrorPage(java.lang.Class pageExpiredErrorPage)
pageExpiredErrorPage - The pageExpiredErrorPage to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||