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 <jhoh...@googlemail.com> 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

Reply via email to