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 using Multibinder or MapBinder will be visited through this interface.

Since:
3.0
Author:
sameb@google.com (Sam Berlin)

Method Summary
 V visit(MapBinderBinding<? extends T> mapbinding)
          Visits a binding created through MapBinder.
 V visit(MultibinderBinding<? extends T> multibinding)
          Visits a binding created through Multibinder.
 
Methods inherited from interface com.google.inject.spi.BindingTargetVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit
 

Method Detail

visit

V visit(MultibinderBinding<? extends T> multibinding)
Visits a binding created through Multibinder.


visit

V visit(MapBinderBinding<? extends T> mapbinding)
Visits a binding created through MapBinder.



Copyright © 2006-2011 Google, Inc.. All Rights Reserved.