Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
scr-1.2.0
-
None
-
org.apache.felix.scr-1.0.9-SNAPSHOT
Description
If no activate or deactivate methods are registered in the xml this is not an error as activate and deactivate methods are optional.
However complexity arises if user explicitly sets an activate or deactivate methods in xml as in this case it probably is an error if the method is not found.
Thought it worth registering this issue as it caused me some confusion when I saw it and I needed to go digging though the code to figure out that this was in fact harmless.