That's what @ManagedProperty does - it's the
JSF managed bean mechanism for injecting one bean into another and if I'm
reading this correctly does exactly what you want. I recently came across a scenario where someone was trying to use this
mechanism when using client state saving (javax.faces.STATE_SAVING_METHOD=client) and it wouldn't work but was ok
with javax.faces.STATE_SAVING_METHOD=server.
Regards,
Brendan.