public interface BindingSubscriber
Binding
s from one or more BindingPublisher
s.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
Binding s 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()
Binding
s from this subscriber.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.