Injecting bean from two int one