Java Doc for SimpleServletSessionManager.java in  » J2EE » Enhydra-Application-Framework » com » lutris » appserver » server » sessionEnhydra » 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 » J2EE » Enhydra Application Framework » com.lutris.appserver.server.sessionEnhydra 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.lutris.appserver.server.sessionEnhydra.StandardSessionManager
      com.lutris.appserver.server.sessionEnhydra.SimpleServletSessionManager

SimpleServletSessionManager
public class SimpleServletSessionManager extends StandardSessionManager (Code)
This session manager extends StandardSessionManager it obtains SessionId from the servletContainer and uses it to create a new Enhydra session
version:
   $Revision: 1.2 $
author:
   DT



Constructor Summary
public  SimpleServletSessionManager()
    
public  SimpleServletSessionManager(Application application, Config config, LogChannel sessionMgrLogChannel)
     Creates a new SessionManager object. This constructor will first looks for the session manager configuration parameters that have the specified configuration prefix prepended to the standard session manager configuration option.


Parameters:
  app - the application associate with this sessionmanager.
Parameters:
  config - Object parsed from configuration file.

public  SimpleServletSessionManager(ClassLoader classLoader, Config config, LogChannel sessionMgrLogChannel)
     Creates a new SessionManager object. This constructor will first looks for the session manager configuration parameters that have the specified configuration prefix prepended to the standard session manager configuration option.


Parameters:
  app - the ClassLoader associate with this application.
Parameters:
  config - Object parsed from configuration file.


Method Summary
public  SessioncreateSession(HttpPresentationComms comms)
     Create a new Session object.


Constructor Detail
SimpleServletSessionManager
public SimpleServletSessionManager()(Code)



SimpleServletSessionManager
public SimpleServletSessionManager(Application application, Config config, LogChannel sessionMgrLogChannel) throws ConfigException, SessionException(Code)
Creates a new SessionManager object. This constructor will first looks for the session manager configuration parameters that have the specified configuration prefix prepended to the standard session manager configuration option.


Parameters:
  app - the application associate with this sessionmanager.
Parameters:
  config - Object parsed from configuration file. This should befor the section constaining the session manager configuration.
Parameters:
  sessionMgrLogChannel - If not null, channel tolog debugging information to.
exception:
  ConfigException - signifies a problem in theconfiguration file.
exception:
  SessionException - if all classes (Home and UserTable) couldn't be loadedby the session manager.




SimpleServletSessionManager
public SimpleServletSessionManager(ClassLoader classLoader, Config config, LogChannel sessionMgrLogChannel) throws ConfigException, SessionException(Code)
Creates a new SessionManager object. This constructor will first looks for the session manager configuration parameters that have the specified configuration prefix prepended to the standard session manager configuration option.


Parameters:
  app - the ClassLoader associate with this application.
Parameters:
  config - Object parsed from configuration file. This should befor the section constaining the session manager configuration.
Parameters:
  sessionMgrLogChannel - If not null, channel tolog debugging information to.
exception:
  ConfigException - signifies a problem in theconfiguration file.
exception:
  SessionException - if all classes (Home and UserTable) couldn't be loadedby the session manager.





Method Detail
createSession
public Session createSession(HttpPresentationComms comms) throws SessionException(Code)
Create a new Session object.
Parameters:
  comms - the HttpPresentationComms object used for geting existingSession object ID. session The new Session object.
exception:
  SessionException - if the session cannot be created.
See Also:   Session



Fields inherited from com.lutris.appserver.server.sessionEnhydra.StandardSessionManager
final public static String CFG_EMPTY_SESSION_PATH(Code)(Java Doc)
final public static String CFG_ENCODE_FIRST_URL(Code)(Java Doc)
final public static String CFG_ENCODE_URL_STATE(Code)(Java Doc)
final public static String CFG_IDLE(Code)(Java Doc)
final public static String CFG_LIFE(Code)(Java Doc)
final public static String CFG_NOUSER_IDLE(Code)(Java Doc)
final public static String CFG_RANDOM(Code)(Java Doc)
final public static String CFG_SCAN(Code)(Java Doc)
final public static String CFG_SESSION_HOME(Code)(Java Doc)
final public static String CFG_SESSION_HOME_TYPE(Code)(Java Doc)
final public static String ENCODE_RANDOM_NO(Code)(Java Doc)
final public static String ENCODE_RANDOM_YES(Code)(Java Doc)
final public static String ENCODE_URL_ALWAYS(Code)(Java Doc)
final public static String ENCODE_URL_AUTO(Code)(Java Doc)
final public static String ENCODE_URL_NEVER(Code)(Java Doc)
final public static int MODE_BASIC(Code)(Java Doc)
final public static int MODE_CUSTOM(Code)(Java Doc)
final public static int MODE_PAGE_TO_DB(Code)(Java Doc)
final public static int MODE_PAGE_TO_DISK(Code)(Java Doc)
final public static int SESSION_ACTIVE(Code)(Java Doc)
final public static int SESSION_EXPLICT_DELETE(Code)(Java Doc)
final public static int SESSION_IDLE_EXPIRE(Code)(Java Doc)
final public static int SESSION_MAX_TIME(Code)(Java Doc)
Application app(Code)(Java Doc)
ClassLoader classLoader(Code)(Java Doc)
protected static boolean defaultEmptySessionPath(Code)(Java Doc)
protected static String defaultEncodeUrlState(Code)(Java Doc)
protected static long defaultIdleScanInterval(Code)(Java Doc)
protected static long defaultMaxSessionIdleTime(Code)(Java Doc)
protected static long defaultMaxSessionLifeTime(Code)(Java Doc)
protected static long[] defaultRandomizerIntervals(Code)(Java Doc)
protected boolean emptySessionPath(Code)(Java Doc)
protected boolean encodeFirstUrl(Code)(Java Doc)
protected String encodeUrlState(Code)(Java Doc)
LogChannel logChannel(Code)(Java Doc)
protected long maxNoUserSessionIdleTime(Code)(Java Doc)
protected long maxSessionIdleTime(Code)(Java Doc)
protected int maxSessions(Code)(Java Doc)
protected Date maxSessionsDate(Code)(Java Doc)
protected int mode(Code)(Java Doc)
protected long scanInterval(Code)(Java Doc)
protected StandardSessionHome sessionHome(Code)(Java Doc)
String sessionHomeType(Code)(Java Doc)

Methods inherited from com.lutris.appserver.server.sessionEnhydra.StandardSessionManager
public int activeSessionCount() throws SessionException(Code)(Java Doc)
public void cleanUpIdleSessions() throws SessionException(Code)(Java Doc)
public Session createSession() throws SessionException(Code)(Java Doc)
public Session createSession(String ipPortToken) throws SessionException(Code)(Java Doc)
public Session createSession(HttpPresentationComms comms) throws SessionException(Code)(Java Doc)
protected void debug(int level, String msg)(Code)(Java Doc)
public synchronized void deleteSession(Session session) throws SessionException(Code)(Java Doc)
public synchronized void deleteSession(String sessionKey) throws SessionException(Code)(Java Doc)
public boolean getEmptySessionPath()(Code)(Java Doc)
public boolean getEncodeFirstUrl()(Code)(Java Doc)
public String getEncodeUrlState()(Code)(Java Doc)
public long getMaxNoUserSessionIdleTime()(Code)(Java Doc)
public long getMaxSessionIdleTime()(Code)(Java Doc)
public long getMaxSessionLifeTime()(Code)(Java Doc)
public int getMode() throws SessionException(Code)(Java Doc)
public synchronized Session getSaveSession(Thread thread, String sessionKey) throws SessionException(Code)(Java Doc)
public synchronized Session getSession(String sessionKey) throws SessionException(Code)(Java Doc)
public synchronized Session getSession(Thread thread, String sessionKey) throws SessionException(Code)(Java Doc)
public synchronized Session getSession(Thread thread, String sessionKey, HttpPresentationComms comms) throws SessionException(Code)(Java Doc)
public synchronized Enumeration getSessionKeys() throws SessionException(Code)(Java Doc)
public synchronized Enumeration getSessionKeys(User user) throws SessionException(Code)(Java Doc)
protected int isSessionExpired(StandardSession session)(Code)(Java Doc)
protected StandardSessionHome loadSessionHome(Config config) throws ConfigException, SessionException(Code)(Java Doc)
protected StandardSessionUserTable loadSessionUserTable(Config config) throws ConfigException, SessionException(Code)(Java Doc)
public int maxSessionCount()(Code)(Java Doc)
public Date maxSessionCountDate()(Code)(Java Doc)
protected StandardSession newSession(String sessionKey) throws CreateSessionException, SessionException(Code)(Java Doc)
public int pagedSessionCount() throws SessionException(Code)(Java Doc)
public void passivateSession(Thread thread, String sessionKey) throws SessionException(Code)(Java Doc)
protected synchronized void registerUser(Session session) throws SessionException(Code)(Java Doc)
public void resetMaxSessionCount() throws SessionException(Code)(Java Doc)
protected void sessionDeleted(Session session, int reason)(Code)(Java Doc)
public synchronized boolean sessionExists(String sessionKey) throws SessionException(Code)(Java Doc)
public void setMaxSessionIdleTime(long maxSessionIdleTime)(Code)(Java Doc)
public synchronized void shutdown()(Code)(Java Doc)
protected synchronized void unregisterUser(Session session) throws SessionException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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