net.methodyne.bellvue.core
Class Sdata

java.lang.Object
  extended bynet.methodyne.bellvue.core.Sdata
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionBindingListener

public class Sdata
extends java.lang.Object
implements javax.servlet.http.HttpSessionBindingListener

The session data for each individual user session
Used to hold the user object, the reference to the DataLayer and the servlet environment...

Version:
1.0
Date: 23.04.2003
Time: 12:01:24
copyright Methodyne GmbH, Zug - Switzerland.
Author:
Tao Tiastri

Field Summary
 java.util.Vector apps
          GUI purpose
 java.util.Vector clipVector
          GUI purpose
 java.lang.String currentApp
          GUI purpose
 DataLayer dl
          The ubiquitous datalayer for insert, update, delete, locking, etc....
 java.lang.String dns
          The IP address of a DNS server configured in web.xml
 java.util.HashMap errors
          GUI purpose
 FormParser fp
          parsed form data
 javax.servlet.http.HttpServletRequest req
          From the servlet API
 javax.servlet.http.HttpServletResponse res
          From the servlet API
 javax.servlet.ServletContext sctx
          From the servlet API
 java.lang.Object selectedObjectRef
          GUI purpose
 net.methodyne.bellvue.system.User user
          The user
 View view
          GUI purpose
 
Constructor Summary
Sdata()
           
 
Method Summary
static int getSessionCount()
          Session counter
 void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
          This gets automatically handled by the servlet container
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
          This gets automatically handled by the servlet container Called when a sessin ends with an explicit invalidate() or its timeout period has been reached.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fp

public FormParser fp
parsed form data


selectedObjectRef

public java.lang.Object selectedObjectRef
GUI purpose


view

public View view
GUI purpose


clipVector

public java.util.Vector clipVector
GUI purpose


errors

public java.util.HashMap errors
GUI purpose


user

public net.methodyne.bellvue.system.User user
The user


apps

public java.util.Vector apps
GUI purpose


currentApp

public java.lang.String currentApp
GUI purpose


sctx

public javax.servlet.ServletContext sctx
From the servlet API


req

public javax.servlet.http.HttpServletRequest req
From the servlet API


res

public javax.servlet.http.HttpServletResponse res
From the servlet API


dl

public DataLayer dl
The ubiquitous datalayer for insert, update, delete, locking, etc....


dns

public java.lang.String dns
The IP address of a DNS server configured in web.xml

Constructor Detail

Sdata

public Sdata()
Method Detail

getSessionCount

public static int getSessionCount()
Session counter

Returns:
the number of users on this application context.

valueBound

public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
This gets automatically handled by the servlet container

Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener
Parameters:
event -

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
This gets automatically handled by the servlet container Called when a sessin ends with an explicit invalidate() or its timeout period has been reached.

Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener
Parameters:
event -


Copyright © 2003 Methodyne GmbH, Zug Switzerland. All Rights Reserved.