You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/12/05 22:33:43 UTC

[jira] Work started: (FELIX-429) Binding methods are not automatically generated for abstract components

     [ https://issues.apache.org/jira/browse/FELIX-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-429 started by Felix Meschberger.

> 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.