public interface BindingSubscriber
Bindings from one or more BindingPublishers.| Modifier and Type | Method and Description |
|---|---|
<T> void |
add(com.google.inject.Binding<T> binding,
int rank)
Adds the given ranked
Binding to this subscriber. |
void |
clear()
Removes all known
Bindings from this subscriber. |
<T> void |
remove(com.google.inject.Binding<T> binding)
Removes the given
Binding from this subscriber. |
<T> void add(com.google.inject.Binding<T> binding,
int rank)
Binding to this subscriber.binding - The new bindingrank - The assigned rank<T> void remove(com.google.inject.Binding<T> binding)
Binding from this subscriber.binding - The old bindingvoid clear()
Bindings from this subscriber.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.