I want to inject an object like Foo in some class. I have to bean for Foo. One of them is RequestScope and other is Prototype. I want to use @Conditional for this. Is there any annotation like ConditionalOnHttpRequestExist that separate these injection?