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