ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (Updated) (JIRA)" <>
Subject [jira] [Updated] (AXIOM-350) Clean up the org.apache.axiom.attachments.Part interface
Date Sun, 02 Oct 2011 11:36:34 GMT


Andreas Veithen updated AXIOM-350:

    Fix Version/s:     (was: 1.2.13)
> Clean up the org.apache.axiom.attachments.Part interface
> --------------------------------------------------------
>                 Key: AXIOM-350
>                 URL:
>             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]
> [2]

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message