Java Doc for SessionMessage.java in  » Sevlet-Container » apache-tomcat-6.0.14 » org » apache » catalina » ha » session » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Sevlet Container » apache tomcat 6.0.14 » org.apache.catalina.ha.session 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.catalina.ha.session.SessionMessage

All known Subclasses:   org.apache.catalina.ha.session.SessionMessageImpl,
SessionMessage
public interface SessionMessage extends ClusterMessage,java.io.Serializable(Code)
Class Description:
The SessionMessage class is a class that is used when a session has been created, modified, expired in a Tomcat cluster node.
The following events are currently available:
  • public static final int EVT_SESSION_CREATED
  • public static final int EVT_SESSION_ACCESSED
  • public static final int EVT_ATTRIBUTE_ADDED
  • public static final int EVT_ATTRIBUTE_REMOVED
  • public static final int EVT_SESSION_EXPIRED_WONOTIFY
  • public static final int EVT_SESSION_EXPIRED_WNOTIFY
  • public static final int EVT_GET_ALL_SESSIONS
  • public static final int EVT_SET_USER_PRINCIPAL
  • public static final int EVT_SET_SESSION_NOTE
  • public static final int EVT_REMOVE_SESSION_NOTE


Field Summary
final public static  intEVT_ALL_SESSION_DATA
     When a session state is transferred, this is the event.
final public static  intEVT_ALL_SESSION_TRANSFERCOMPLETE
     When a session state is complete transferred, this is the event.
final public static  intEVT_GET_ALL_SESSIONS
     Event type used when a server comes online for the first time.
final public static  intEVT_SESSION_ACCESSED
     Event type used when a session has been accessed (ie, last access time has been updated.
final public static  intEVT_SESSION_CREATED
    
final public static  intEVT_SESSION_DELTA
    
final public static  intEVT_SESSION_EXPIRED
    


Method Summary
public  StringgetContextName()
    
public  intgetEventType()
    
public  StringgetEventTypeString()
    
public  byte[]getSession()
    
public  StringgetSessionID()
    

Field Detail
EVT_ALL_SESSION_DATA
final public static int EVT_ALL_SESSION_DATA(Code)
When a session state is transferred, this is the event.



EVT_ALL_SESSION_TRANSFERCOMPLETE
final public static int EVT_ALL_SESSION_TRANSFERCOMPLETE(Code)
When a session state is complete transferred, this is the event.



EVT_GET_ALL_SESSIONS
final public static int EVT_GET_ALL_SESSIONS(Code)
Event type used when a server comes online for the first time. The first thing the newly started server wants to do is to grab the all the sessions from one of the nodes and keep the same state in there



EVT_SESSION_ACCESSED
final public static int EVT_SESSION_ACCESSED(Code)
Event type used when a session has been accessed (ie, last access time has been updated. This is used so that the replicated sessions will not expire on the network



EVT_SESSION_CREATED
final public static int EVT_SESSION_CREATED(Code)
Event type used when a session has been created on a node



EVT_SESSION_DELTA
final public static int EVT_SESSION_DELTA(Code)
Event type used when an attribute has been added to a session, the attribute will be sent to all the other nodes in the cluster



EVT_SESSION_EXPIRED
final public static int EVT_SESSION_EXPIRED(Code)
Event type used when a session has expired





Method Detail
getContextName
public String getContextName()(Code)



getEventType
public int getEventType()(Code)
returns the event type one of the event types EVT_XXXX



getEventTypeString
public String getEventTypeString()(Code)



getSession
public byte[] getSession()(Code)
the serialized data for the session



getSessionID
public String getSessionID()(Code)
the session ID for the session



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.