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;
}