Dear All,
We have one service class with one @activate method which is not getting invoked, But is working fine in other class of the same app. Is there a constraint that only one @activate can be used in one app-core?
Thanks in advance
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @NaziyaP
Method with @Activate annotation will only be called once your Component(or Service) is activated. If Component has any dependencies it won't be activated hence your activate method won't be executed. Check if your Component/Service has any dependencies and try to resolve.
AG
Please check logs for any errors and paste the code here
Views
Replies
Total Likes
Hi @NaziyaP
Method with @Activate annotation will only be called once your Component(or Service) is activated. If Component has any dependencies it won't be activated hence your activate method won't be executed. Check if your Component/Service has any dependencies and try to resolve.
AG
There is no such constraint
Could you please go to systsem console and inder components tab go to your service and see if it is axtive or not not some refrences are in satisfied state.
If its not active it will not work, try to resolve dependencies.
Hope this helps
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies