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] Commented: (FELIX-1437) DS 1.1 signatures for activators and bind methods only available for declaration with new namespace
Date Mon, 03 Aug 2009 07:49:14 GMT

    [ https://issues.apache.org/jira/browse/FELIX-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738218#action_12738218
] 

Felix Meschberger commented on FELIX-1437:
------------------------------------------

Rev. 800242:

Enhanced method selection for activator/deactivator methods to use the declaration document
namespace to decide whether to only consider DS 1.0 method signatures or to also consider
DS 1.1 signatures.



> DS 1.1 signatures for activators and bind methods only available for declaration with
new namespace
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1437
>                 URL: https://issues.apache.org/jira/browse/FELIX-1437
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.8
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.2.0
>
>
> The draft compendium specification (dated 2009/03/10) states:
>     The additional signatures and additional accessibility for the activate,
>     deactivate, bind and unbind methods can cause problems for components
>     written to version 1.0 of this specification. The behaviour in this
>     specification only applies to component descriptions using the v1.1.0
>     name space.
> Currently the new method signatures are checked and accepted regardless of the namespace
version of the component declaration. If a component is declared with a 1.0 namespace declaration,
only the original signatures must be accepted, which are:
>    * methods must be protected or public
>    * bind methods take ServiceReference or service object
>    * activator methods take ComponentContext

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