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
From crazyboblee on February 28, 2007 15:51:22
Let's make Spring integration trival, so it's easy to share or migrate. Here's how it will work:
The user must provide a binding to Spring's BeanFactory.
Then, we'll have the following class:
class SpringIntegration {
static <T> Provider<T> fromSpring(Class<T> type, String name) { ... } }
The returned provider will look up the Bean with the given name in the bound BeanFactory.
Original issue: http://code.google.com/p/google-guice/issues/detail?id=47
The text was updated successfully, but these errors were encountered:
From crazyboblee on February 28, 2007 12:53:24
The resulting configuration will look like this:
bind(DataSource.class).toProvider(fromSpring(DataSource.class, "dataSource"));
Sorry, something went wrong.
From kevinb9n on February 28, 2007 13:00:56
I'm fuzzy on the details, but the idea of making spring and guice share their stuff with each other is A+.
From crazyboblee on February 28, 2007 14:54:03
This should be pretty easy.
Labels: 1.0RC3
From bileblog on February 28, 2007 16:18:50
This would definitely encourage adoption as it gives people an easy way to dip their toes into guice without having to commit too much
From crazyboblee on March 02, 2007 16:24:10
(No comment was entered for this change.)
Status: Fixed
No branches or pull requests
From crazyboblee on February 28, 2007 15:51:22
Let's make Spring integration trival, so it's easy to share or migrate.
Here's how it will work:
The user must provide a binding to Spring's BeanFactory.
Then, we'll have the following class:
class SpringIntegration {
static <T> Provider<T> fromSpring(Class<T> type, String name) {
...
}
}
The returned provider will look up the Bean with the given name in the
bound BeanFactory.
Original issue: http://code.google.com/p/google-guice/issues/detail?id=47
The text was updated successfully, but these errors were encountered: