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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AdobeID24
AdobeID24
Offline

Badges

Badges
28

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
64

Posts & Comments

Posts & Comments
161

Discussions

Discussions
0

Questions

Questions
3

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by AdobeID24
Customize the badges you want to showcase on your profile
Immediate Component Vs Delayed Component - Adobe Experience Manager 24-09-2018
what is delayed and immediate component in simple words ?i found somehwere in google :Delayed ComponentActivation is not done until there is a request for a service object. Therefore even class loading and instantiation can be delayed until that time. A Delayed Component needs to specify a service.Immediate ComponentActivated as soon as its dependencies are satisfied. An Immediate Component does not need to specify a serviceI didnt get this specifying service things ?As per my understanding if w...

Views

3.2K

Likes

0

Replies

1
o declare any component as a service there is no need of using @service annotation? - Adobe Experience Manager 23-09-2018
SCR annotation VS ds Annotation(OSGI annotation):"First change is that @Service and @Component are now combined, via service you specify which service you are implementing @Component(service = MySimpleService.class)"What does it mean now to declare any component as a service there is no need of using @service annotation?I found somewhere this in net Migration of OSGi Components and Service Before : In SCR Annotations:@Component(name=”Test Service”,immediate=true,description="this is description"...

Views

873

Like

1

Replies

2
Re: Calling OSGI service from sightly in maven project - Adobe Experience Manager 23-09-2018
Hi Arun,You have not used @Service annotation so does it mean that is not service ?It is a component.

Views

2.5K

Likes

0

Replies

0
Re: Access OSGI service from Sightly WCMUsePojo | AEM 6.3 - Adobe Experience Manager 23-09-2018
First scenario worked when I called my WCM use class in my sightly like below : ${search.details} but this second scenario dint work when i tried calling my service directly in my sightly: ${servObj.repositoryName}For this i got error like:Error during include of component '/apps/amitsample/components/content/servicecompo'Error Message:org.apache.sling.scripting.sightly.SightlyException: Identifier amitsample.core.filters.HelloService cannot be correctly instantiated by the Use APIProcessing Inf...

Views

6.0K

Like

1

Replies

6
Re: Calling OSGI service from sightly in maven project - Adobe Experience Manager 22-09-2018
${search.details}above one is working fine and I am getting result on my page where i dragged the component .Now i tried the second option:You can directly call services in HTL like above ${servObj.repositoryName}this is not working ..I have not changed any code as pasted in above in my question just using services directly in Sightly as you suggested but I am getting error like below:Error during include of component '/apps/amitsample/components/content/servicecompo'Error Message:org.apache.sl...

Views

2.5K

Likes

0

Replies

0
Re: Calling OSGI service from sightly in maven project - Adobe Experience Manager 22-09-2018
One doubt :here ${search.details}details is what?It came from method public String getDetails form this part?Similarly ${servObj.repositoryName}?It came from method public String getRepositoryName()?

Views

2.5K

Likes

0

Replies

0
Re: Calling OSGI service from sightly in maven project - Adobe Experience Manager 22-09-2018
silly mistake ...Arun Thnaks a lot ...I was hitting my brain on this for so long ..Really helpful.....

Views

2.6K

Likes

0

Replies

0
Calling OSGI service from sightly in maven project - Adobe Experience Manager 22-09-2018
This is my sightly code : ${search.details}this is my bundle which I uploaded in felix console :This is my path where i set my maven project:Develope.java================And these are my code:package amitsample.core.filters;import com.adobe.cq.sightly.WCMUse;import amitsample.core.filters.HelloService;import org.slf4j.Logger;import org.slf4j.LoggerFactory;public class Develope extends WCMUse {Logger logger = LoggerFactory.getLogger(Develope.class);protected String detail;@Override public void ac...

Views

4.3K

Like

1

Replies

8
Re: Access OSGI ser­vice from Sightly WCMUsePojo | AEM 6.3 - Adobe Experience Manager 19-09-2018
How we can use services directly in Sightly?

Views

8.1K

Like

1

Replies

9
Re: Access OSGI ser­vice from Sightly WCMUsePojo | AEM 6.3 - Adobe Experience Manager 19-09-2018
wow ..well explained

Views

8.1K

Like

1

Replies

0