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-1686) Missing activate or deativate methods show up as Error in LogService
Date Sun, 04 Oct 2009 06:57:56 GMT

    [ https://issues.apache.org/jira/browse/FELIX-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761998#action_12761998

Felix Meschberger commented on FELIX-1686:

> better to shout loudly and not act at all vs come up in a potentially broken state

100% agreed

> Missing activate or deativate methods show up as Error in LogService
> --------------------------------------------------------------------
>                 Key: FELIX-1686
>                 URL: https://issues.apache.org/jira/browse/FELIX-1686
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.2.0
>         Environment: org.apache.felix.scr-1.0.9-SNAPSHOT
>            Reporter: David Savage
>            Assignee: Felix Meschberger
>            Priority: Trivial
>             Fix For: scr-1.2.0
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message