From f4f361e0e8af41e3d12ee3e36a1ba11e60a12077 Mon Sep 17 00:00:00 2001 From: pdanner Date: Mon, 6 Dec 2010 16:55:24 +0000 Subject: Moved to pdf-as-web project git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@676 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../knowcenter/wag/egov/egiz/web/SessionTable.java | 94 ---------------------- 1 file changed, 94 deletions(-) delete mode 100644 src/main/java/at/knowcenter/wag/egov/egiz/web/SessionTable.java (limited to 'src/main/java/at/knowcenter/wag/egov/egiz/web/SessionTable.java') 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. -// * -// *

-// * The object has to be added to the session table by using put(). -// *

-// * -// * @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. -// * -// *

-// * This should be used once in a while to tie up some loose ends. -// *

-// */ -// public static void clear() -// { -// session_table.clear(); -// } -} -- cgit v1.2.3