We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AsyncFactoryBean
Because Future<MyService> are parametrized beans, it's not possible to inject them with Spring 3.
Future<MyService>
In general, you can get away with it using a @Qualifier and name specifically the bean you need, but it does not work for a List<Future<MyService>>.
@Qualifier
List<Future<MyService>>
One viable workaround is to inject List<MyServiceFactory> instead.
List<MyServiceFactory>
Should be dealt with in #508
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Because
Future<MyService>
are parametrized beans, it's not possible to inject them with Spring 3.In general, you can get away with it using a
@Qualifier
and name specifically the bean you need, but it does not work for aList<Future<MyService>>
.One viable workaround is to inject
List<MyServiceFactory>
instead.Should be dealt with in #508
The text was updated successfully, but these errors were encountered: