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.

Reply via email to