Package org.eclipse.sisu.inject
Interface BindingSubscriber<T>
public interface BindingSubscriber<T>
Subscriber of
Bindings from one or more BindingPublishers.-
Method Summary
-
Method Details
-
type
com.google.inject.TypeLiteral<T> type()Returns the type ofBindings that are of interest.- Returns:
- The literal type
-
add
Adds the given rankedBindingto this subscriber.- Parameters:
binding- The new bindingrank- The assigned rank
-
remove
Removes the givenBindingfrom this subscriber.- Parameters:
binding- The old binding
-
bindings
Snapshot of currently subscribedBindings.- Returns:
- The subscribed
Bindings
-