Hybris: How to Override a Bean in backoffice-web-spring.xml
While working on a recent Hybris project for a client, I came across the need to override a Backoffice web context bean found in the backoffice-web-spring.xml application context file. As Backoffice based extension projects don’t provide access to the Backoffice web application context, I needed to find a way to override the bean and make it work. This tutorial describes the steps I took, and the way in which I accomplished it.