I asked and got an answer how to bind a named injection point.
And I don't know how to bind a factory to a qualified injection point.
class SomeResource {
@Inject
@Some // is a @Qualifier, of course.
private MyType qualified;
}
I prepared a factory
class SomeFactory extends Factory<MyType> {
}
And I stuck on creating a binder for that
class SomeBinder extends AbstractBinder {
@Override protected void configure() {
// @@?
}
}
I actually want to know how to use ServiceBindingBuilder#qualifiedBy.