felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-429) Binding methods are not automatically generated for abstract components
Date Tue, 11 Mar 2008 07:12:46 GMT

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

Carsten Ziegeler updated FELIX-429:
-----------------------------------

    Fix Version/s:     (was: felix-1.0.0)
                   maven-scr-plugin-1.0.1

> 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
>             Fix For: maven-scr-plugin-1.0.1
>
>
> 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.


Mime
View raw message