Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
scr-1.0.8
-
None
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