Package com.google.inject.multibindings
Interface MultibindingsTargetVisitor<T,V>
-
- All Superinterfaces:
BindingTargetVisitor<T,V>
public interface MultibindingsTargetVisitor<T,V> extends BindingTargetVisitor<T,V>
A visitor for the multibinder extension.If your
BindingTargetVisitor
implements this interface, bindings created by usingMultibinder
,MapBinder
orOptionalBinderBinding
will be visited through this interface.- Since:
- 3.0
- Author:
- sameb@google.com (Sam Berlin)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
visit(MapBinderBinding<? extends T> mapbinding)
Visits a binding created throughMapBinder
.V
visit(MultibinderBinding<? extends T> multibinding)
Visits a binding created throughMultibinder
.V
visit(OptionalBinderBinding<? extends T> optionalbinding)
Visits a binding created throughOptionalBinder
.
-
-
-
Method Detail
-
visit
V visit(MultibinderBinding<? extends T> multibinding)
Visits a binding created throughMultibinder
.
-
visit
V visit(MapBinderBinding<? extends T> mapbinding)
Visits a binding created throughMapBinder
.
-
visit
V visit(OptionalBinderBinding<? extends T> optionalbinding)
Visits a binding created throughOptionalBinder
.- Since:
- 4.0
-
-