jford       2004/07/26 20:15:51

  Modified:    src/java/org/apache/jetspeed/services/messaging
                        MessagingService.java
  Log:
  Added javadoc
  
  Revision  Changes    Path
  1.2       +23 -1     
jakarta-jetspeed/src/java/org/apache/jetspeed/services/messaging/MessagingService.java
  
  Index: MessagingService.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/messaging/MessagingService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MessagingService.java     23 Jul 2004 00:24:01 -0000      1.1
  +++ MessagingService.java     27 Jul 2004 03:15:51 -0000      1.2
  @@ -20,6 +20,9 @@
   import javax.jms.MessageListener;
   
   /**
  + * This class provides an API for accessing a JMS component.
  + * 
  + * 
    * @author <a href="mailto:[EMAIL PROTECTED]">Jeremy Ford</a>
    * @version $Id$
    */
  @@ -60,8 +63,27 @@
        */
       public MessageConsumer createConsumer(String destination);
       
  +    
  +    /**
  +     * Remove a message listener that was added to the service 
  +     * previously via the addMessageListener method.
  +     * 
  +     * @param id
  +     */
       public void removeMessageListener(String id);
       
  +    /**
  +     * Send a message to the chose destination
  +     * 
  +     * @param message
  +     * @param destination
  +     */
       public void sendMessage(Message message, String destination);
  +    /**
  +     * Create a message based on the give type
  +     * 
  +     * @param messageType
  +     * @return
  +     */
       public Message createMessage(int messageType);
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to