01: /*
02: * ==============================================================================
03: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
04: * use this file except in compliance with the License. You may obtain a copy of
05: * the License at
06: *
07: * http://www.apache.org/licenses/LICENSE-2.0
08: *
09: * Unless required by applicable law or agreed to in writing, software
10: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12: * License for the specific language governing permissions and limitations under
13: * the License.
14: */
15: package wicket.jmx;
16:
17: import wicket.settings.IApplicationSettings;
18:
19: /**
20: * Application settings.
21: *
22: * @author eelcohillenius
23: */
24: public interface ApplicationSettingsMBean {
25: /**
26: * Gets the access denied page class.
27: *
28: * @return Returns the accessDeniedPage.
29: * @see IApplicationSettings#setAccessDeniedPage(Class)
30: */
31: String getAccessDeniedPage();
32:
33: /**
34: * Gets the default resolver to use when finding classes
35: *
36: * @return Default class resolver
37: */
38: String getClassResolver();
39:
40: /**
41: * Gets context path to use for absolute path generation. For example an
42: * Application Server that is used as a virtual server on a Webserver:
43: *
44: * <pre>
45: * appserver.com/context mapped to webserver/ (context path should be '/')
46: * </pre>
47: *
48: * @return The context path
49: *
50: * @see IApplicationSettings#setContextPath(String) what the possible values
51: * can be.
52: */
53: String getContextPath();
54:
55: /**
56: * Gets the converter factory.
57: *
58: * @return the converter factory
59: */
60: String getConverterFactory();
61:
62: /**
63: * Gets internal error page class.
64: *
65: * @return Returns the internalErrorPage.
66: * @see IApplicationSettings#setInternalErrorPage(Class)
67: */
68: String getInternalErrorPage();
69:
70: /**
71: * Gets the page expired page class.
72: *
73: * @return Returns the pageExpiredErrorPage.
74: * @see IApplicationSettings#setPageExpiredErrorPage(Class)
75: */
76: String getPageExpiredErrorPage();
77:
78: /**
79: * Gets the unexpected exception display.
80: *
81: * @return the unexpected exception display
82: */
83: String getUnexpectedExceptionDisplay();
84: }
|