Hi Alex, I suppose these components do not have immediate=true and are not used by any other component. This is just the normal lazy loading. Without the immediate flag a DS component is only activated if its service is used.
Christian 2017-02-02 20:04 GMT+01:00 Alex Soto <[email protected]>: > Hello, > > I am using Karaf 4.0.8. > > Some DS components in my application do not show as ACTIVE in the output > from the *scr:components* command, but show a blank state. > I do no see any difference between the other DS components that are shown > as ACTIVE, and the ones that show blank State. > > Digging a little I found the numeric state of these components is 4 > (SATISFIED) and that the Service the component exposes is active/exported > based on the *service:list* command. > > These components are declared using DS annotation *@Component *without > any additional attributes. > > The *scr:info *command shows this (fragment): > > Default State: enabled > Activation: delayed > Configuration Policy: optional > Activate Method: init > Deactivate Method: deactivate > Modified Method: - > > > It is curious that the class does not have any *deactivate* method, not > annotation for it. > > What is going on? > > Best regards, > Alex soto > > > -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de> Open Source Architect http://www.talend.com <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>
