aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz/web/SessionTable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/knowcenter/wag/egov/egiz/web/SessionTable.java')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/web/SessionTable.java94
1 files changed, 0 insertions, 94 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/web/SessionTable.java b/src/main/java/at/knowcenter/wag/egov/egiz/web/SessionTable.java
deleted file mode 100644
index 4d0ba21..0000000
--- a/src/main/java/at/knowcenter/wag/egov/egiz/web/SessionTable.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- *
- */
-package at.knowcenter.wag.egov.egiz.web;
-
-
-/**
- * This class contains the session table that is used for local requests.
- *
- * @author wprinz
- */
-public abstract class SessionTable
-{
- // Session table no longer needed - because J2EE Servlet sessions are used.
-
-// /**
-// * The HashMap for mapping the session id to the SessionInformation object on
-// * the server.
-// */
-// protected static Map session_table = new HashMap();
-//
-// /**
-// * The random number generator used to generate session_ids.
-// */
-// protected static Random random = new Random();
-//
-// /**
-// * Generates a new SessionInformation object with a unique session_id.
-// *
-// * <p>
-// * The object has to be added to the session table by using put().
-// * </p>
-// *
-// * @return Returns the generated SessionInformation object.
-// *
-// * @see #put(SessionInformation)
-// */
-// public static SessionInformation generateSessionInformationObject()
-// {
-// SessionInformation si = new SessionInformation();
-// si.session_id = random.nextLong();
-//
-// return si;
-// }
-//
-// /**
-// * Puts the SessionInformation object into the session table.
-// *
-// * @param si
-// * The SessionInformation object. The session_id field must be filled
-// * out properly.
-// */
-// public static void put(SessionInformation si)
-// {
-// session_table.put(new Long(si.session_id), si);
-// }
-//
-// /**
-// * Gets the SessionInformation object associated with the given session_id.
-// *
-// * @param session_id
-// * The session_id.
-// * @return Returns the corresponding SessionInformation object or null, if no
-// * object is associated with that id.
-// */
-// public static SessionInformation get(final long session_id)
-// {
-// return (SessionInformation) session_table.get(new Long(session_id));
-// }
-//
-// /**
-// * Removes the SessionInformation object with the provided session_id from the
-// * session table.
-// *
-// * @param session_id
-// * The session_id to be removed.
-// */
-// public static void remove(long session_id)
-// {
-// session_table.remove(new Long(session_id));
-// }
-//
-// /**
-// * Simply clear the session table.
-// *
-// * <p>
-// * This should be used once in a while to tie up some loose ends.
-// * </p>
-// */
-// public static void clear()
-// {
-// session_table.clear();
-// }
-}