org.apache.wicket.jmx
Interface ApplicationSettingsMBean

All Known Implementing Classes:
ApplicationSettings

public interface ApplicationSettingsMBean

Application settings.

Author:
eelcohillenius

Method Summary
 String getAccessDeniedPage()
          Gets the access denied page class.
 String getClassResolver()
          Gets the default resolver to use when finding classes
 String 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.
 

Method Detail

getAccessDeniedPage

String getAccessDeniedPage()
Gets the access denied page class.

Returns:
Returns the accessDeniedPage.
See Also:
IApplicationSettings.setAccessDeniedPage(Class)

getClassResolver

String getClassResolver()
Gets the default resolver to use when finding classes

Returns:
Default class resolver

getDefaultMaximumUploadSize

String getDefaultMaximumUploadSize()
Gets the default maximum size for uploads. This is used by Form.getMaxSize() if no value is explicitly set through Form.setMaxSize(Bytes).

Returns:
the default maximum size for uploads

getInternalErrorPage

String getInternalErrorPage()
Gets internal error page class.

Returns:
Returns the internalErrorPage.
See Also:
IApplicationSettings.setInternalErrorPage(Class)

getPageExpiredErrorPage

String getPageExpiredErrorPage()
Gets the page expired page class.

Returns:
Returns the pageExpiredErrorPage.
See Also:
IApplicationSettings.setPageExpiredErrorPage(Class)

getUnexpectedExceptionDisplay

String getUnexpectedExceptionDisplay()
Gets the unexpected exception display.

Returns:
the unexpected exception display

setDefaultMaximumUploadSize

void setDefaultMaximumUploadSize(String defaultUploadSize)
Sets the default maximum size for uploads. This is used by Form.getMaxSize() if no value is explicitly set through Form.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.

Parameters:
defaultUploadSize - the default maximum size for uploads


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.