내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

My custom service is not visible in "Services", "Components" tabs.

Avatar

Level 1
Hey. My problem is:

 

I've deployed my service successfully. "Services" bundle is active, I can call methods from my deployed service without any problems, but I cant see it in "Services" and "Components" tabs in my Felix OSGi Console. What should I do to make it visible in the "Service", "Components" tabs?

 

The code of my service.

 

@Component(immediate = true)
@Service(value = GoodbyeWorldService.class)  
    public class GoodbyeWorldService {
        @Reference
        protected Scheduler scheduler;
        private final static Logger LOGGER = LoggerFactory.getLogger(GoodbyeWorldService.class);
       
        public void get() {
           LOGGER.info("Scheduler is " + this.scheduler);
       } 
    }
1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

Follow this AEM article - as shown in the article - you will see the service in the Service tab -- as shown here.

[img]FelixBundleService.png[/img]

See:

Querying Adobe Experience Manager Data using the JCR API

(PS -- this one is an advanced article using JQuery, a custom OSGi that uses JCR API, etc.)

For those reading this thread and want an easier service to start with -- see this article:

Creating your first AEM Service using an Adobe Maven Archetype project

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Level 10

Follow this AEM article - as shown in the article - you will see the service in the Service tab -- as shown here.

[img]FelixBundleService.png[/img]

See:

Querying Adobe Experience Manager Data using the JCR API

(PS -- this one is an advanced article using JQuery, a custom OSGi that uses JCR API, etc.)

For those reading this thread and want an easier service to start with -- see this article:

Creating your first AEM Service using an Adobe Maven Archetype project

Avatar

Level 10

Can you please describe how you created the OSGi bundle? What CQ version are you using?

Avatar

Level 1

Thanx Smacdonald

Bioderma