View Javadoc

1   /*
2    * Copyright (c) 2007 Creative Sphere Limited.
3    * All rights reserved. This program and the accompanying materials
4    * are made available under the terms of the Eclipse Public License v1.0
5    * which accompanies this distribution, and is available at
6    * http://www.eclipse.org/legal/epl-v10.html
7    *
8    * Contributors:
9    *
10   *   Creative Sphere - initial API and implementation
11   *
12   */
13  package org.abstracthorizon.danube.http.session;
14  
15  
16  /**
17   * Bean info for {@link SimpleSessionManager} class
18   *
19   * @author Daniel Sendula
20   */
21  public class SimpleSessionManagerBeanInfo extends SimpleCookieSessionManagerBeanInfo {
22  
23      /**
24       * Constructor
25       */
26      public SimpleSessionManagerBeanInfo() {
27          this(SimpleSessionManager.class);
28      }
29  
30      /**
31       * Constructor
32       * @param cls class
33       */
34      protected SimpleSessionManagerBeanInfo(Class<?> cls) {
35          super(cls);
36      }
37  
38      /**
39       * Init method
40       */
41      public void init() {
42          super.init();
43  
44          addProperty("sessionTimeout", "SessionTtimeout");
45          addProperty("minScanInterval", "Minimal interval in milliseconds for pruning sessions from the session cache", true, false);
46      }
47  
48  }
49