service locator factorybean example