public interface MutableBeanLocator extends BeanLocator
BeanLocator that finds and tracks bindings across zero or more BindingPublishers.| Modifier and Type | Method and Description |
|---|---|
void |
add(BindingPublisher publisher,
int rank)
Adds the given ranked
BindingPublisher and distributes its Bindings. |
void |
add(com.google.inject.Injector injector,
int rank)
Deprecated.
|
void |
clear()
Removes all known
BindingPublishers and their Bindings. |
void |
remove(BindingPublisher publisher)
Removes the given
BindingPublisher and its Bindings. |
void |
remove(com.google.inject.Injector injector)
Deprecated.
|
locate, watchvoid add(BindingPublisher publisher, int rank)
BindingPublisher and distributes its Bindings.publisher - The new publisherrank - The assigned rankvoid remove(BindingPublisher publisher)
BindingPublisher and its Bindings.publisher - The old publishervoid clear()
BindingPublishers and their Bindings.@Deprecated void add(com.google.inject.Injector injector, int rank)
Injector and distributes its Bindings. Marked as deprecated because most
clients should not call this method; any injector that contains a binding to the BeanLocator is
automatically added to that locator as part of the bootstrapping process.injector - The new injectorrank - The assigned rank@Deprecated void remove(com.google.inject.Injector injector)
Injector and its Bindings.injector - The old injectorCopyright © 2013. All rights reserved.