public interface

MutableBeanLocator

implements BeanLocator BindingDistributor
org.eclipse.sisu.locators.MutableBeanLocator
Known Indirect Subclasses

Class Overview

Mutable BeanLocator that finds and tracks bindings across zero or more BindingPublishers.

Summary

Public Methods
abstract void add(Injector injector, int rank)
Adds the given ranked Injector and distributes its Bindings.
abstract void remove(Injector injector)
Removes the given Injector and its Bindings.
[Expand]
Inherited Methods
From interface org.eclipse.sisu.locators.BeanLocator
From interface org.eclipse.sisu.locators.spi.BindingDistributor

Public Methods

public abstract void add (Injector injector, int rank)

Adds the given ranked 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.

Parameters
injector The new injector
rank The assigned rank

public abstract void remove (Injector injector)

Removes the given Injector and its Bindings.

Parameters
injector The old injector