View Javadoc

1   /* $Id: Messenger.java,v 1.3 2004/03/19 13:02:25 jdt Exp $
2    * Created on Mar 14, 2004 by jdt
3    * Copyright (C) AstroGrid. All rights reserved.
4    *
5    * This software is published under the terms of the AstroGrid 
6    * Software License version 1.2, a copy of which has been included 
7    * with this distribution in the LICENSE.txt file. 
8    */
9   package org.astrogrid.portal.cocoon.messaging;
10  
11  /***
12   * Generic messenger interface to send emails or whatever 
13   * @author jdt
14   */
15  public interface Messenger {
16      /***
17       * All messengers, whether email, jabber, whatever simply send a text message.
18       * @param subject subject of message
19       * @param message message body
20       * @throws MessengerException if there's a wee problem
21       */
22      void sendMessage(String subject, String message) throws MessengerException;
23  }
24  
25  
26  /*
27   *  $Log: Messenger.java,v $
28   *  Revision 1.3  2004/03/19 13:02:25  jdt
29   *  Pruned the log messages - they cause conflicts on merge, 
30   *  best just to reduce them to the merge message.
31   *
32   *  Revision 1.2  2004/03/19 12:40:09  jdt
33   *  Merge from PLGN_JDT_bz199b.
34   *  Refactored log in pages to use xsp and xsl style sheets.  
35   *  Added pages for requesting a login, and requesting
36   *  a password reminder.
37   *
38   */