java - Google Guice: Provider with parameters -
i have constructor depends on classes , b. defined this:
@inject testclass(a a, b b) is there way in guice have 1 of constructor parameters injected manually?
problem is, object of class a cannot built depends on user input. wondering if guice supports provider accepts argument. example, object can created provider.get(), guice has 1 support provider.get(a)?
i think need assisted inject.
Comments
Post a Comment