You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2005/04/22 07:48:18 UTC

cvs commit: jakarta-jetspeed-2/portals-bridges/common/src/java/org/apache/portals/messaging PortletMessaging.java

taylor      2005/04/21 22:48:18

  Modified:    portals-bridges/common/src/java/org/apache/portals/messaging
                        PortletMessaging.java
  Log:
  remove requirement for serializable on read operations
  
  Revision  Changes    Path
  1.3       +1 -7      jakarta-jetspeed-2/portals-bridges/common/src/java/org/apache/portals/messaging/PortletMessaging.java
  
  Index: PortletMessaging.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portals-bridges/common/src/java/org/apache/portals/messaging/PortletMessaging.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortletMessaging.java	20 Jan 2005 06:48:05 -0000	1.2
  +++ PortletMessaging.java	22 Apr 2005 05:48:18 -0000	1.3
  @@ -47,7 +47,6 @@
       }
   
       public static final Object consume(PortletRequest request, String portletTopic, String messageName)
  -    throws NotSerializableException
       {
           String key = portletTopic + ":" + messageName;
           Object object = request.getPortletSession().getAttribute(key, PortletSession.APPLICATION_SCOPE);
  @@ -57,7 +56,6 @@
       }
   
       public static final Object receive(PortletRequest request, String portletTopic, String messageName)
  -    throws NotSerializableException
       {
           String key = portletTopic + ":" + messageName;
           Object object = request.getPortletSession().getAttribute(key, PortletSession.APPLICATION_SCOPE);
  @@ -65,7 +63,6 @@
       }
       
       public static final void cancel(PortletRequest request, String portletTopic, String messageName)
  -    throws NotSerializableException
       {
           String key = portletTopic + ":" + messageName;
           request.getPortletSession().removeAttribute(key, PortletSession.APPLICATION_SCOPE);
  @@ -86,7 +83,6 @@
       }
   
       public static final Object consume(PortletRequest request, String messageName)
  -    throws NotSerializableException
       {
           String key = messageName;
           Object object = request.getPortletSession().getAttribute(key, PortletSession.PORTLET_SCOPE);
  @@ -96,7 +92,6 @@
       }
   
       public static final Object receive(PortletRequest request, String messageName)
  -    throws NotSerializableException
       {
           String key = messageName;
           Object object = request.getPortletSession().getAttribute(key, PortletSession.PORTLET_SCOPE);
  @@ -104,7 +99,6 @@
       }
       
       public static final void cancel(PortletRequest request, String messageName)
  -    throws NotSerializableException
       {
           String key = messageName;
           request.getPortletSession().removeAttribute(key, PortletSession.PORTLET_SCOPE);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org