aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Wilkinson (JIRA)" <j...@apache.org>
Subject [jira] Created: (ARIES-344) BundleConverter interface returns one-use-only inputstream
Date Mon, 28 Jun 2010 16:24:50 GMT
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


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.


Mime
View raw message