Return-Path: Delivered-To: apmail-james-mailet-api-archive@www.apache.org Received: (qmail 55813 invoked from network); 26 Mar 2010 19:10:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Mar 2010 19:10:00 -0000 Received: (qmail 56234 invoked by uid 500); 26 Mar 2010 19:10:00 -0000 Delivered-To: apmail-james-mailet-api-archive@james.apache.org Received: (qmail 56181 invoked by uid 500); 26 Mar 2010 19:10:00 -0000 Mailing-List: contact mailet-api-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mailet-api@james.apache.org Delivered-To: mailing list mailet-api@james.apache.org Received: (qmail 56172 invoked by uid 99); 26 Mar 2010 19:09:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 19:09:59 +0000 X-ASF-Spam-Status: No, hits=-1194.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Mar 2010 19:09:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 209C623888E7; Fri, 26 Mar 2010 19:09:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r928023 - /james/mailet/api/trunk/src/main/java/org/apache/mailet/MailetContext.java Date: Fri, 26 Mar 2010 19:09:37 -0000 To: mailet-api@james.apache.org From: norman@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100326190937.209C623888E7@eris.apache.org> Author: norman Date: Fri Mar 26 19:09:36 2010 New Revision: 928023 URL: http://svn.apache.org/viewvc?rev=928023&view=rev Log: Remove old methods which was deprecated in 2.2.0 Modified: james/mailet/api/trunk/src/main/java/org/apache/mailet/MailetContext.java Modified: james/mailet/api/trunk/src/main/java/org/apache/mailet/MailetContext.java URL: http://svn.apache.org/viewvc/james/mailet/api/trunk/src/main/java/org/apache/mailet/MailetContext.java?rev=928023&r1=928022&r2=928023&view=diff ============================================================================== --- james/mailet/api/trunk/src/main/java/org/apache/mailet/MailetContext.java (original) +++ james/mailet/api/trunk/src/main/java/org/apache/mailet/MailetContext.java Fri Mar 26 19:09:36 2010 @@ -304,18 +304,5 @@ public interface MailetContext { */ void bounce(Mail mail, String message, MailAddress bouncer) throws MessagingException; - /** - * Stores the message is in the local repository associated with - * recipient for later retrieval, e.g., by a POP3 or IMAP service. - * - * @deprecated - use sparingly. Service will be replaced with - * resource acquired via JNDI. - * @param sender - the sender of the incoming message - * @param recipient - the user who is receiving this message (as a complete email address) - * @param message - the MimeMessage to store in a local mailbox - * @throws MessagingException - if the message fails to parse - */ - void storeMail(MailAddress sender, MailAddress recipient, MimeMessage message) - throws MessagingException; }