public interface MutableBeanLocator extends BeanLocator, BindingDistributor
BeanLocator
that finds and tracks bindings across zero or more BindingPublisher
s.Modifier and Type | Method and Description |
---|---|
void |
add(com.google.inject.Injector injector,
int rank)
Deprecated.
|
void |
remove(com.google.inject.Injector injector)
Removes the given
Injector and its Binding s. |
locate, watch
add, clear, remove
@Deprecated void add(com.google.inject.Injector injector, int rank)
Injector
and distributes its Binding
s. 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 rankvoid remove(com.google.inject.Injector injector)
Injector
and its Binding
s.injector
- The old injectorCopyright © 2010-2014 Sonatype, Inc.. All Rights Reserved.