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

New CommerceFactory not registering as a Service in Web Console Services


Level 1


I have created an AEM project using aem:project:archetype:11

I am trying to add a new commerce provider but that is not getting registered as a Service in Web Console Services.

The core bundle has been successfully installed as seen from console/system/bundles.

If anyone can help, that would be appreciated.



@Properties({@org.apache.felix.scr.annotations.Property(name="service.description", value={"Factory for reference implementation commerce service"}), @org.apache.felix.scr.annotations.Property(name="commerceProvider", value={"testProvider"}, propertyPrivate=true)})

public class TestCommerceServiceFactory extends AbstractJcrCommerceServiceFactory{

public TestCommerceServiceFactory() {}

public CommerceService getCommerceService(Resource res)


return new TestCommerceServiceImpl(getServiceContext(), res);



0 Replies