sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason E Bailey <>
Subject Re: [DISCUSSION][API][PROPOSAL] Adding Stream<Resource> generator to Sling API
Date Thu, 07 Jun 2018 13:00:19 GMT
Or,  you know,  new Streamer(resource) :)

I really don't think creating a dedicated bundle that consists of a single class is really
appropriate.  I've gone ahead and closed the pull request because I've come to realize that
I'm doing an extremely poor job at explaining the vision behind this and/or communicating
the overall benefits.

I'll focus instead on creating the other bundles that handle Predicate creation and maybe
once those are in place I'll revisit where to put this utility.

- Jason

On Wed, Jun 6, 2018, at 4:59 PM, Bertrand Delacretaz wrote:
> On Wed, Jun 6, 2018 at 7:23 PM, Jörg Hoh <> wrote:
> > ...Streamer stream = resource.adaptTo(Streamer.class);
> > could do the trick. Then you can have everything in a dedicated bundle and
> > there is no need to change any of the sling core APIs or bundles....
> +1
> -Bertrand

View raw message