I have a bean named UserFacade. The application context defines the UserFacade and injects the UserBusinessLayer into the UserFacade which in turn injects UserDAO into the UserBusinessLayer.
The initial lookup is done via the application context user the getBean method (getBean("userFacade"). How do I allow the web layer to retrieve the UserFacade only and not the other beans. In other works, the web layer should not be allowed to call getBean in order to retrieve the UserBusinessLayer and UserDAO bean objects.