Package org.apache.wicket.jmx.wrapper
Class ApplicationSettings
- java.lang.Object
-
- org.apache.wicket.jmx.wrapper.ApplicationSettings
-
- All Implemented Interfaces:
ApplicationSettingsMBean
public class ApplicationSettings extends Object implements ApplicationSettingsMBean
Exposes Application related functionality for JMX.- Author:
- eelcohillenius
-
-
Constructor Summary
Constructors Constructor Description ApplicationSettings(Application application)
Create.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessDeniedPage()
Gets the access denied page class.String
getClassResolver()
Gets the default resolver to use when finding classesString
getDefaultMaximumUploadSize()
Gets the default maximum size for uploads.String
getInternalErrorPage()
Gets internal error page class.String
getPageExpiredErrorPage()
Gets the page expired page class.String
getUnexpectedExceptionDisplay()
Gets the unexpected exception display.void
setDefaultMaximumUploadSize(String defaultUploadSize)
Sets the default maximum size for uploads.
-
-
-
Constructor Detail
-
ApplicationSettings
public ApplicationSettings(Application application)
Create.- Parameters:
application
-
-
-
Method Detail
-
getAccessDeniedPage
public String getAccessDeniedPage()
Description copied from interface:ApplicationSettingsMBean
Gets the access denied page class.- Specified by:
getAccessDeniedPage
in interfaceApplicationSettingsMBean
- Returns:
- Returns the accessDeniedPage.
- See Also:
ApplicationSettingsMBean.getAccessDeniedPage()
-
getClassResolver
public String getClassResolver()
Description copied from interface:ApplicationSettingsMBean
Gets the default resolver to use when finding classes- Specified by:
getClassResolver
in interfaceApplicationSettingsMBean
- Returns:
- Default class resolver
- See Also:
ApplicationSettingsMBean.getClassResolver()
-
getDefaultMaximumUploadSize
public String 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
public String getInternalErrorPage()
Description copied from interface:ApplicationSettingsMBean
Gets internal error page class.- Specified by:
getInternalErrorPage
in interfaceApplicationSettingsMBean
- Returns:
- Returns the internalErrorPage.
- See Also:
ApplicationSettingsMBean.getInternalErrorPage()
-
getPageExpiredErrorPage
public String getPageExpiredErrorPage()
Description copied from interface:ApplicationSettingsMBean
Gets the page expired page class.- Specified by:
getPageExpiredErrorPage
in interfaceApplicationSettingsMBean
- Returns:
- Returns the pageExpiredErrorPage.
- See Also:
ApplicationSettingsMBean.getPageExpiredErrorPage()
-
getUnexpectedExceptionDisplay
public String getUnexpectedExceptionDisplay()
Description copied from interface:ApplicationSettingsMBean
Gets the unexpected exception display.- Specified by:
getUnexpectedExceptionDisplay
in interfaceApplicationSettingsMBean
- Returns:
- the unexpected exception display
- See Also:
ApplicationSettingsMBean.getUnexpectedExceptionDisplay()
-
setDefaultMaximumUploadSize
public void setDefaultMaximumUploadSize(String defaultUploadSize)
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:
ApplicationSettingsMBean.setDefaultMaximumUploadSize(java.lang.String)
-
-