public interface BindingSubscriber<T>
Binding
s from one or more BindingPublisher
s.Modifier and Type | Method and Description |
---|---|
void |
add(com.google.inject.Binding<T> binding,
int rank)
Adds the given ranked
Binding to this subscriber. |
Iterable<com.google.inject.Binding<T>> |
bindings()
Snapshot of currently subscribed
Binding s. |
void |
remove(com.google.inject.Binding<T> binding)
Removes the given
Binding from this subscriber. |
com.google.inject.TypeLiteral<T> |
type()
Returns the type of
Binding s that are of interest. |
com.google.inject.TypeLiteral<T> type()
Binding
s that are of interest.void add(com.google.inject.Binding<T> binding, int rank)
Binding
to this subscriber.binding
- The new bindingrank
- The assigned rankvoid remove(com.google.inject.Binding<T> binding)
Binding
from this subscriber.binding
- The old bindingCopyright © 2016. All Rights Reserved.