use different examples to inject the MainApp bean with different interfaces