Hi all, what is the correct way to extend broadleaf service, in my case CatalogService.
none of these works for me:
http://www.broadleafcommerce.com/docs/c ... g-services
http://www.broadleafcommerce.com/docs/c ... s-tutorial
I tried to do this in three ways:
1. I created MyCatalogServiceImpl file which extends CatalogServiceImpl and implements MyCatalogService;
And created bean like this:
<bean id="org.broadleafcommerce.core.catalog.service.CatalogService"
class="com.mycompany.core.catalog.service.MyCatalogServiceImpl"/>
2. I created MyCatalogServiceImpl file which extends CatalogServiceImpl and implements MyCatalogService;
And created bean like this:
<bean id="blCatalogService"
class="com.mycompany.core.catalog.service.MyCatalogServiceImpl"/>
3. I created MyCatalogServiceImpl file which extends CatalogServiceImpl and implements MyCatalogService;
And added annotation to MyCatalogServiceImpl:
@Service("blCatalogService")
None of these extensions works for me, original services got called every time.
What am I doing wrong here?
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.