You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Chris Wilkinson (JIRA)" <ji...@apache.org> on 2010/07/01 16:10:51 UTC

[jira] Updated: (ARIES-344) BundleConverter interface returns one-use-only inputstream

     [ https://issues.apache.org/jira/browse/ARIES-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Wilkinson updated ARIES-344:
----------------------------------

    Attachment: bundleConverter.diff

This patch should address the issues described above.

It should be applied from the trunk directory.

> BundleConverter interface returns one-use-only inputstream
> ----------------------------------------------------------
>
>                 Key: ARIES-344
>                 URL: https://issues.apache.org/jira/browse/ARIES-344
>             Project: Aries
>          Issue Type: Bug
>          Components: Application
>    Affects Versions: 0.1
>         Environment: All environments
>            Reporter: Chris Wilkinson
>            Priority: Minor
>         Attachments: bundleConverter.diff
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> The org.apache.aries.application.management.BundleConverter interface has one method which returns an InputStream pointing to a converted bundle.
> This InputStream , once read, can no longer be used. Users of the API may wish to read the InputStream several times and this is currently not possible.
> Ideally, we would return something more useful from which we can obtain the InputStream (potentially several times) if necessary. 
> For example, instead of returning an InputStream we return a new Interface called BundleConversion.
> This has two methods, initially, : getInputStream() and getBundleInfo().
> (Although not strictly necessary - this second method would be useful)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.