Binding methods are not automatically generated for abstract components
-----------------------------------------------------------------------
Key: FELIX-429
URL: https://issues.apache.org/jira/browse/FELIX-429
Project: Felix
Issue Type: Improvement
Components: Maven SCR Plugin
Reporter: Felix Meschberger
Assignee: Felix Meschberger
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/undind 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.