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: /**
18: * Session settings.
19: *
20: * @author eelcohillenius
21: */
22: public interface SessionSettingsMBean {
23: /**
24: * Gets maximum number of page maps allowed in this session
25: *
26: * @return Maximum number of page maps
27: */
28: int getMaxPageMaps();
29:
30: /**
31: * Gets the factory to be used when creating pages
32: *
33: * @return The default page factory
34: */
35: String getPageFactory();
36:
37: /**
38: * Gets the strategy for evicting pages from the page map.
39: *
40: * @return the strategy for evicting pages from the page map
41: */
42: String getPageMapEvictionStrategy();
43:
44: /**
45: * Gets the session store implementation.
46: *
47: * @return the session store implementation
48: */
49: String getSessionStore();
50:
51: /**
52: * Sets maximum number of page maps allowed in this session
53: *
54: * @param maxPageMaps
55: * Maximum number of page maps
56: */
57: void setMaxPageMaps(int maxPageMaps);
58: }
|