java.lang.Object | |
↳ | org.eclipse.sisu.inject.InjectorBindings |
Publisher of Bindings from a single Injector; ranked according to a given RankingFunction
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
InjectorBindings(Injector injector, RankingFunction function) | |||||||||||
InjectorBindings(Injector injector) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object rhs) | ||||||||||
Injector | getInjector() | ||||||||||
int | hashCode() | ||||||||||
int |
maxBindingRank()
Estimates the maximum rank this publisher may assign to a
Binding . | ||||||||||
<T> void |
subscribe(BindingSubscriber<T> subscriber)
Subscribes the given
BindingSubscriber to receive Binding s. | ||||||||||
String | toString() | ||||||||||
<T> void |
unsubscribe(BindingSubscriber<T> subscriber)
Stops the given
BindingSubscriber from receiving Binding s. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.eclipse.sisu.inject.BindingPublisher
|
Estimates the maximum rank this publisher may assign to a Binding
.
Subscribes the given BindingSubscriber
to receive Binding
s.
subscriber | The subscriber |
---|
Stops the given BindingSubscriber
from receiving Binding
s.
subscriber | The subscriber |
---|