org.apache.wicket.jmx
Interface ApplicationSettingsMBean

All Known Implementing Classes:
ApplicationSettings

public interface ApplicationSettingsMBean

Application settings.

Author:
eelcohillenius

Method Summary
 java.lang.String getAccessDeniedPage()
          Gets the access denied page class.
 java.lang.String getClassResolver()
          Gets the default resolver to use when finding classes
 java.lang.String getDefaultMaximumUploadSize()
          Gets the default maximum size for uploads.
 java.lang.String getInternalErrorPage()
          Gets internal error page class.
 java.lang.String getPageExpiredErrorPage()
          Gets the page expired page class.
 java.lang.String getUnexpectedExceptionDisplay()
          Gets the unexpected exception display.
 void setDefaultMaximumUploadSize(java.lang.String defaultUploadSize)
          Sets the default maximum size for uploads.
 

Method Detail

getAccessDeniedPage

java.lang.String getAccessDeniedPage()
Gets the access denied page class.

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

getClassResolver

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

Returns:
Default class resolver

getDefaultMaximumUploadSize

java.lang.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

java.lang.String getInternalErrorPage()
Gets internal error page class.

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

getPageExpiredErrorPage

java.lang.String getPageExpiredErrorPage()
Gets the page expired page class.

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

getUnexpectedExceptionDisplay

java.lang.String getUnexpectedExceptionDisplay()
Gets the unexpected exception display.

Returns:
the unexpected exception display

setDefaultMaximumUploadSize

void setDefaultMaximumUploadSize(java.lang.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-2010 Apache Software Foundation. All Rights Reserved.