Author: ehillenius
Date: Thu Apr 12 21:51:39 2007
New Revision: 528355

URL: http://svn.apache.org/viewvc?view=rev&rev=528355
Log:
added method for deprecation

Modified:
    
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/AbstractHttpSessionStore.java

Modified: 
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/AbstractHttpSessionStore.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/AbstractHttpSessionStore.java?view=diff&rev=528355&r1=528354&r2=528355
==============================================================================
--- 
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/AbstractHttpSessionStore.java
 (original)
+++ 
incubator/wicket/branches/wicket-1.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/AbstractHttpSessionStore.java
 Thu Apr 12 21:51:39 2007
@@ -25,6 +25,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.wicket.Application;
+import org.apache.wicket.IPageMap;
 import org.apache.wicket.Page;
 import org.apache.wicket.Request;
 import org.apache.wicket.Session;
@@ -34,7 +35,6 @@
 import org.apache.wicket.version.undo.UndoPageVersionManager;
 
 
-
 /**
  * Abstract implementation of [EMAIL PROTECTED] ISessionStore} that works with 
web
  * applications and that provided some speficic http servlet/ session related
@@ -133,7 +133,8 @@
        }
 
        /**
-        * @see 
org.apache.wicket.session.ISessionStore#bind(org.apache.wicket.Request, 
org.apache.wicket.Session)
+        * @see 
org.apache.wicket.session.ISessionStore#bind(org.apache.wicket.Request,
+        *      org.apache.wicket.Session)
         */
        public final void bind(Request request, Session newSession)
        {
@@ -161,7 +162,8 @@
        }
 
        /**
-        * @see 
org.apache.wicket.session.ISessionStore#getSessionId(org.apache.wicket.Request, 
boolean)
+        * @see 
org.apache.wicket.session.ISessionStore#getSessionId(org.apache.wicket.Request,
+        *      boolean)
         */
        public final String getSessionId(Request request, boolean create)
        {
@@ -331,5 +333,19 @@
                                        + " can only work with WebRequests");
                }
                return (WebRequest)request;
+       }
+
+       // TODO remove after deprecation release
+
+       /**
+        * DO NOT USE.
+        * 
+        * @param name
+        * @param session
+        * @return
+        */
+       public final IPageMap createPageMap(String name, Session session)
+       {
+               throw new UnsupportedOperationException("obsolete method");
        }
 }


Reply via email to