Return-Path: X-Original-To: apmail-ws-dev-archive@www.apache.org Delivered-To: apmail-ws-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A57D27712 for ; Sun, 2 Oct 2011 11:36:59 +0000 (UTC) Received: (qmail 23308 invoked by uid 500); 2 Oct 2011 11:36:58 -0000 Delivered-To: apmail-ws-dev-archive@ws.apache.org Received: (qmail 23043 invoked by uid 500); 2 Oct 2011 11:36:58 -0000 Mailing-List: contact dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ws.apache.org Delivered-To: mailing list dev@ws.apache.org Received: (qmail 23023 invoked by uid 99); 2 Oct 2011 11:36:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 11:36:58 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 11:36:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 412DD2A42FB for ; Sun, 2 Oct 2011 11:36:34 +0000 (UTC) Date: Sun, 2 Oct 2011 11:36:34 +0000 (UTC) From: "Andreas Veithen (Updated) (JIRA)" To: dev@ws.apache.org Message-ID: <1945580393.1219.1317555394268.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <10203811.68261289731153421.JavaMail.jira@thor> Subject: [jira] [Updated] (AXIOM-350) Clean up the org.apache.axiom.attachments.Part interface MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIOM-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andreas Veithen updated AXIOM-350: ---------------------------------- Fix Version/s: (was: 1.2.13) 1.2.14 > Clean up the org.apache.axiom.attachments.Part interface > -------------------------------------------------------- > > Key: AXIOM-350 > URL: https://issues.apache.org/jira/browse/AXIOM-350 > Project: Axiom > Issue Type: Task > Components: API > Reporter: Andreas Veithen > Assignee: Andreas Veithen > Fix For: 1.2.14 > > > Currently, the Part interface is only used internally by Axiom. This can be seen from the current Javadoc [1] (note that Part is used by PartFactory, which is also only used internally [2]). Therefore the Part interface is not really part of the public API and modifying it would only impact code that uses Part and PartFactory independently from the rest of the Axiom API, which is a highly unlikely case. > In order to solve AXIOM-31 and AXIOM-280, it is proposed to expose the Part instances via the Attachments object. This is also necessary to make the SAAJ implementation in Axis2 complete, because SAAJ defines methods to access the headers of a MIME part, and this is not possible with the current Axiom API. > Exposing the Part instances via the Attachments object will make the Part interface part of the public API. Before doing this, we should clean up this interface a bit. In particular, we should eliminate its dependency on the JavaMail API (usage of javax.mail.MessagingException by all methods and usage of javax.mail.Header as a return value of getAllHeaders). > [1] http://ws.apache.org/axiom/apidocs/org/apache/axiom/attachments/class-use/Part.html > [2] http://ws.apache.org/axiom/apidocs/org/apache/axiom/attachments/impl/class-use/PartFactory.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org For additional commands, e-mail: dev-help@ws.apache.org