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 ?

Regards
Felix

Reply via email to