felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: [maven-scr-plugin] Autogenerated binding methods
Date Wed, 05 Dec 2007 09:18:54 GMT
Felix Meschberger wrote:
> Hi all,
> 
> The maven-scr-plugin is able to automatically generate bind/unbind
> methods for for singleton references of DS components if such methods do
> not exist. Currently, these methods are not generated for abstract
> descriptors (declaring the @scr.component abstract="true").
> 
> The consequence of this behaviour is, that the any fields of the
> abstract base class must be defined protected such that the bind/undinb
> methods to be created on the inheriting concrete class may be able to
> access the fields.
> 
> I think this leads to improper API leaking and should not be done.
> Rather the bind/unbind methods should also be created for abstract
> components.
> 
> WDYT ?
> 
Ups, yes, definitly - I thought I fixed this for the latest release. Hmpf.

I'll take care of this as well.

PS: And it seems that we have enough changes then for a new release :)

Carsten

-- 
Carsten Ziegeler
cziegeler@apache.org

Mime
View raw message