felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FELIX-429) Binding methods are not automatically generated for abstract components
Date Wed, 05 Dec 2007 21:41:43 GMT

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

Felix Meschberger closed FELIX-429.

    Resolution: Fixed

Fixed in Rev. 601539 and deploy snapshot build 0.5.0-20071205.213901-2.

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

View raw message