Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1437

DS 1.1 signatures for activators and bind methods only available for declaration with new namespace

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: