Factory design pattern used to obtain the managers. The managers to be
used can be configured via Spring.