java.lang.Object
org.apache.wicket.jmx.wrapper.ApplicationSettings
- All Implemented Interfaces:
ApplicationSettingsMBean
Exposes Application related functionality for JMX.
- Author:
- eelcohillenius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the access denied page class.Gets the default resolver to use when finding classesGets the default maximum size for uploads.Gets internal error page class.Gets the page expired page class.Gets the unexpected exception display.void
setDefaultMaximumUploadSize
(String defaultUploadSize) Sets the default maximum size for uploads.
-
Constructor Details
-
ApplicationSettings
Create.- Parameters:
application
-
-
-
Method Details
-
getAccessDeniedPage
Description copied from interface:ApplicationSettingsMBean
Gets the access denied page class.- Specified by:
getAccessDeniedPage
in interfaceApplicationSettingsMBean
- Returns:
- Returns the accessDeniedPage.
- See Also:
-
getClassResolver
Description copied from interface:ApplicationSettingsMBean
Gets the default resolver to use when finding classes- Specified by:
getClassResolver
in interfaceApplicationSettingsMBean
- Returns:
- Default class resolver
-
getDefaultMaximumUploadSize
Description copied from interface:ApplicationSettingsMBean
Gets the default maximum size for uploads. This is used byForm.getMaxSize()
if no value is explicitly set throughForm.setMaxSize(Bytes)
.- Specified by:
getDefaultMaximumUploadSize
in interfaceApplicationSettingsMBean
- Returns:
- the default maximum size for uploads
-
getInternalErrorPage
Description copied from interface:ApplicationSettingsMBean
Gets internal error page class.- Specified by:
getInternalErrorPage
in interfaceApplicationSettingsMBean
- Returns:
- Returns the internalErrorPage.
- See Also:
-
getPageExpiredErrorPage
Description copied from interface:ApplicationSettingsMBean
Gets the page expired page class.- Specified by:
getPageExpiredErrorPage
in interfaceApplicationSettingsMBean
- Returns:
- Returns the pageExpiredErrorPage.
- See Also:
-
getUnexpectedExceptionDisplay
Description copied from interface:ApplicationSettingsMBean
Gets the unexpected exception display.- Specified by:
getUnexpectedExceptionDisplay
in interfaceApplicationSettingsMBean
- Returns:
- the unexpected exception display
- See Also:
-
setDefaultMaximumUploadSize
Description copied from interface:ApplicationSettingsMBean
Sets the default maximum size for uploads. This is used byForm.getMaxSize()
if no value is explicitly set throughForm.setMaxSize(Bytes)
. The String value should be a floating point value followed by K, M, G or T for kilobytes, megabytes, gigabytes or terabytes, respectively. The abbreviations KB, MB, GB and TB are also accepted. Matching is case insensitive.- Specified by:
setDefaultMaximumUploadSize
in interfaceApplicationSettingsMBean
- Parameters:
defaultUploadSize
- the default maximum size for uploads- See Also:
-