In the latest snapshot, assisted inject supports parameterized
factories. You'll need to add this interface to your code:
interface EclipseLinkStoreFactory<T> {
EclipseLinkStore<T> create(Class<T> clazz);
}
And then use FactoryProvider to create the binding. See the assisted
inject docs for more info.
http://code.google.com/p/google-guice/wiki/AssistedInject
Cheers,
Jesse
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---