cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r170438 - /cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet
Date Mon, 16 May 2005 19:56:13 GMT
Author: danielf
Date: Mon May 16 12:56:12 2005
New Revision: 170438

URL: http://svn.apache.org/viewcvs?rev=170438&view=rev
Log:
Added reflection friendly utility methods for map like structures in the environment classes
Request, Context and Sessionaccording to vote http://marc.theaimsgroup.com/?t=111590936900001&r=1&w=2.
Updated all implementing classes. The implementation is based on some classes that I moved
from the faces block to core.

Modified:
    cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletContext.java
    cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java
    cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletSession.java

Modified: cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletContext.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletContext.java?rev=170438&r1=170437&r2=170438&view=diff
==============================================================================
--- cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletContext.java
(original)
+++ cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletContext.java
Mon May 16 12:56:12 2005
@@ -15,7 +15,7 @@
  */
 package org.apache.cocoon.environment.portlet;
 
-import org.apache.cocoon.environment.Context;
+import org.apache.cocoon.environment.impl.AbstractContext;
 
 import org.apache.avalon.framework.CascadingRuntimeException;
 
@@ -30,9 +30,9 @@
  *
  * @author <a href="mailto:alex.rudnev@dc.gov">Alex Rudnev</a>
  * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
- * @version CVS $Id: PortletContext.java,v 1.2 2004/03/05 13:02:08 bdelacretaz Exp $
+ * @version CVS $Id$
  */
-public final class PortletContext implements Context {
+public final class PortletContext extends AbstractContext {
 
     /**
      * The PortletContext

Modified: cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java?rev=170438&r1=170437&r2=170438&view=diff
==============================================================================
--- cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java
(original)
+++ cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletRequest.java
Mon May 16 12:56:12 2005
@@ -18,6 +18,7 @@
 import org.apache.cocoon.environment.Cookie;
 import org.apache.cocoon.environment.Request;
 import org.apache.cocoon.environment.Session;
+import org.apache.cocoon.environment.impl.AbstractRequest;
 import org.apache.cocoon.portlet.multipart.MultipartActionRequest;
 import org.apache.commons.collections.IteratorUtils;
 
@@ -43,7 +44,7 @@
  * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  * @version CVS $Id$
  */
-public abstract class PortletRequest implements Request {
+public abstract class PortletRequest extends AbstractRequest {
 
     /** Portlet request does not has servletPath, so it will be passed via constructor */
     private String servletPath;

Modified: cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletSession.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletSession.java?rev=170438&r1=170437&r2=170438&view=diff
==============================================================================
--- cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletSession.java
(original)
+++ cocoon/blocks/supported/portal/trunk/java/org/apache/cocoon/environment/portlet/PortletSession.java
Mon May 16 12:56:12 2005
@@ -15,7 +15,7 @@
  */
 package org.apache.cocoon.environment.portlet;
 
-import org.apache.cocoon.environment.Session;
+import org.apache.cocoon.environment.impl.AbstractSession;
 
 import java.util.Enumeration;
 import java.util.NoSuchElementException;
@@ -31,7 +31,7 @@
  * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  * @version CVS $Id$
  */
-public final class PortletSession implements Session {
+public final class PortletSession extends AbstractSession {
 
     private static final String APP_SCOPE = PortletEnvironment.SESSION_APPLICATION_SCOPE;
     private static final String PORTLET_SCOPE = PortletEnvironment.SESSION_PORTLET_SCOPE;



Mime
View raw message