Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

OSGI Apache Felix Console "Services" vs "Components" tab.

Avatar

Avatar
Level 1
aem001
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
aem001
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
aem001
Level 1

13-04-2020

When health checking my successfully installed bundle I will check the OSGI Apache Felix Console. I was told to also check the OSGI Services and OSGI Components tabs. Is see my services exist in both areas.

 

What is the difference between OSGI Services and OSGI Components tabs within the OSGI Apache Felix Console? 

OSGI Services filters does not work with my FQCN; how does this work?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
Andrew_Khoury
Employee

Likes

75 likes

Total Posts

93 posts

Correct Reply

33 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
Andrew_Khoury
Employee

Likes

75 likes

Total Posts

93 posts

Correct Reply

33 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
Andrew_Khoury
Employee

13-04-2020

  1. What is the difference between OSGI Services and OSGI Components tabs within the OSGI Apache Felix Console? 
    An OSGi Component can implement one or more OSGi services.  It sounds like in your case, you had the OSGi Component class defined as its own service.  Components can have configurations associated with them.
    See the OSGi Declarative Services Specification for the formal definition (in the generated bundle jar an XML file defines the configuration):
    https://osgi.org/specification/osgi.cmpn/7.0.0/service.component.html
    Components also have a life cycle - which the components (and Configurations) tab lets you interact with:
    https://osgi.org/specification/osgi.cmpn/7.0.0/service.component.html#service.component-component.li...
  2. OSGI Services filters does not work with my FQCN; how does this work?
    The syntax for OSGi Filters is similar to LDAP filters.  See here:
    https://stackoverflow.com/questions/11151376/search-osgi-services-by-properties   
    https://osgi.org/javadoc/r2/org/osgi/framework/Filter.html
    For example:
    (objectClass=com.adobe.aem.services.MyService)
 

Answers (0)