| org.eclipse.sisu.inject.BindingSubscriber<T> |
Subscriber of Bindings from one or more BindingPublishers.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
add(Binding<T> binding, int rank)
Adds the given ranked
Binding to this subscriber. | ||||||||||
| abstract Iterable<Binding<T>> |
bindings()
Snapshot of currently subscribed
Bindings. | ||||||||||
| abstract void |
remove(Binding<T> binding)
Removes the given
Binding from this subscriber. | ||||||||||
| abstract TypeLiteral<T> |
type()
Returns the type of
Bindings that are of interest. | ||||||||||
Adds the given ranked Binding to this subscriber.
| binding | The new binding |
|---|---|
| rank | The assigned rank |
Removes the given Binding from this subscriber.
| binding | The old binding |
|---|
Returns the type of Bindings that are of interest.