Page 1 of 1

disabling certain beans and entities in broadleafcommerce

Posted: Fri Feb 15, 2013 11:34 pm
by broadleafer
Just to help in reducing the build and deploy time.
Is there a way I can disable generation of certain tables and loading of certain beans in the DemoSite temporarily other than disabling those beans and entities from broadleafcommerce and deploying broadleafcommerce locally ?

"The above may be a lame question with an obvious answer" but I thought I might ask for expert help :D

Re: disabling certain beans and entities in broadleafcommerce

Posted: Mon Feb 18, 2013 6:34 pm
by phillipuniverse
I don't believe there are any facilities to disable the hibernate entities being mapped and exclude those. You could technically disable beans from being loaded with:

<bean id="blCatalogService" class="java.lang.Object" />

Which I supposed would effectively remove everything from the normal BLC bean to be loaded.

Re: disabling certain beans and entities in broadleafcommerce

Posted: Wed Feb 20, 2013 7:17 am
by broadleafer
That's a smart solution :)

Should've thought of that.

Thanks :)