KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ha > httpsession > beanimpl > ejb > ClusteredHTTPSessionBeanCmp11


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package org.jboss.ha.httpsession.beanimpl.ejb;
9
10 import java.io.Serializable JavaDoc;
11
12 /**
13  * CMP 1.1 concrete implementation for the HTTPSession bean.
14  *
15  * @see org.jboss.ha.httpsession.beanimpl.interfaces.ClusteredHTTPSession
16  * @see org.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanImpl
17  *
18  * @author <a HREF="mailto:sacha.labourey@cogito-info.ch">Sacha Labourey</a>.
19  * @version $Revision: 1.2 $
20  *
21  * <p><b>Revisions:</b>
22  *
23  * <p><b>31. decembre 2001 Sacha Labourey:</b>
24  * <ul>
25  * <li> First implementation </li>
26  * </ul>
27  */

28
29 public class ClusteredHTTPSessionBeanCmp11 extends ClusteredHTTPSessionBeanImpl
30 {
31
32    // Constants -----------------------------------------------------
33

34    // Attributes ----------------------------------------------------
35

36    public String JavaDoc id;
37    public Serializable JavaDoc serializedSession;
38    public long lastAccessTime;
39    public long creationTime;
40    
41    // Static --------------------------------------------------------
42

43    // Constructors --------------------------------------------------
44

45    public ClusteredHTTPSessionBeanCmp11 ()
46     {
47     }
48
49    // Public --------------------------------------------------------
50

51    // Z implementation ----------------------------------------------
52

53    // ClusteredHTTPSessionBeanCmp11 overrides ---------------------------------------------------
54

55    public String JavaDoc getSessionId ()
56    { return this.id; }
57    
58    public void setSessionId (String JavaDoc sessionId)
59    { this.id = sessionId; }
60    
61    public Serializable JavaDoc getSerializedSession ()
62    { return this.serializedSession; }
63    
64    public void setSerializedSession (Serializable JavaDoc session)
65    { this.serializedSession = session; }
66    
67    public long getLastAccessedTime ()
68    { return this.lastAccessTime; }
69    
70    public void setLastAccessedTime (long value)
71    { this.lastAccessTime = value; }
72    
73    public long getCreationTime ()
74    { return this.creationTime; }
75    
76    public void setCreationTime (long value)
77    { this.creationTime = value; }
78    
79    // Package protected ---------------------------------------------
80

81    // Protected -----------------------------------------------------
82

83    // Private -------------------------------------------------------
84

85    // Inner classes -------------------------------------------------
86

87 }
88
Popular Tags