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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -