org.apache.portals.messaging
Class PortletMessaging

java.lang.Object
  extended by org.apache.portals.messaging.PortletMessaging

public class PortletMessaging
extends Object

PortletMessageComponent Throwaway Naive implementation of Porlet Messages as an abstraction and a place holder for when the next spec covers inter-portlet communication

Version:
$Id: PortletMessaging.java 517068 2007-03-12 01:44:37Z ate $
Author:
David Sean Taylor

Constructor Summary
PortletMessaging()
           
 
Method Summary
static void cancel(javax.portlet.PortletRequest request, String messageName)
           
static void cancel(javax.portlet.PortletRequest request, String portletTopic, String messageName)
           
static Object consume(javax.portlet.PortletRequest request, String messageName)
           
static Object consume(javax.portlet.PortletRequest request, String portletTopic, String messageName)
           
static void publish(javax.portlet.PortletRequest request, String messageName, Object message)
           
static void publish(javax.portlet.PortletRequest request, String portletTopic, String messageName, Object message)
           
static Object receive(javax.portlet.PortletRequest request, String messageName)
           
static Object receive(javax.portlet.PortletRequest request, String portletTopic, String messageName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletMessaging

public PortletMessaging()
Method Detail

publish

public static final void publish(javax.portlet.PortletRequest request,
                                 String portletTopic,
                                 String messageName,
                                 Object message)
                          throws NotSerializableException
Throws:
NotSerializableException

consume

public static final Object consume(javax.portlet.PortletRequest request,
                                   String portletTopic,
                                   String messageName)

receive

public static final Object receive(javax.portlet.PortletRequest request,
                                   String portletTopic,
                                   String messageName)

cancel

public static final void cancel(javax.portlet.PortletRequest request,
                                String portletTopic,
                                String messageName)

publish

public static final void publish(javax.portlet.PortletRequest request,
                                 String messageName,
                                 Object message)
                          throws NotSerializableException
Throws:
NotSerializableException

consume

public static final Object consume(javax.portlet.PortletRequest request,
                                   String messageName)

receive

public static final Object receive(javax.portlet.PortletRequest request,
                                   String messageName)

cancel

public static final void cancel(javax.portlet.PortletRequest request,
                                String messageName)


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.