sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: [event] splitting sling.event into API and Implementation bundle
Date Tue, 28 Mar 2017 15:29:30 GMT
+1

The event-impl could embed the event-api bundle (like for example is be
done with implementations of the OSGi specs). With that a newer version
of event-impl would be a drop in replacement for older versions.

And other implementations could do the same.

Regards
Carsten

Stefan Egli wrote
> Hi,
> 
> Currently sling.event contains both API and implementation. In order to
> support different implementation variants it would be good to have two
> separate bundles, one containing just the API and one with the (current)
> implementation. I would suggest to create
> 
> bundles/extensions/event-api
> bundles/extensions/event-impl
> 
> and to remove the current
> 
> bundles/extensions/event
> 
> Since the api packages contain a package-info.java this change should not
> involve any version-change/backwards incompatibility.
> 
> Opinions?
> 
> Cheers,
> Stefan
> --
> https://issues.apache.org/jira/browse/SLING-6739
> 
> 
> 


 

-- 
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

Mime
View raw message