tagbangers / wallride

multilingual easy-to-customize open source CMS made by Java
http://wallride.org/
Apache License 2.0
96 stars 81 forks source link

How are @WebGuestComponentScan and @WebAdminComponentScan meant to be used and when? #68

Closed mhaddon closed 7 years ago

mhaddon commented 8 years ago

Why are they better than say @ComponentScan and what do they do differently.

bourbonizable commented 8 years ago

Hi @mhaddon ! WallRide separates a Context into 3 Contexts which are arranged in a hierarchy to isolate guest and admin site on a Bean basis; common (parent) Context, Guest site Context and Admin site Context (both are children) -- by using inheritance of ApplicationContext. While @ComponentScan scans common Context, @WebGuestComponentScan scans Guest site Context and @WebAdminComponentScan does Admin one, respectively.

bourbonizable commented 7 years ago

I'll close this issue now, if you have any problems about starting wallride, please open a new issue! Thank you.