Package org.eclipse.sisu.inject
Interface MutableBeanLocator
-
- All Superinterfaces:
BeanLocator
- All Known Implementing Classes:
DefaultBeanLocator
public interface MutableBeanLocator extends BeanLocator
MutableBeanLocator
that finds and tracks bindings across zero or moreBindingPublisher
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
add(BindingPublisher publisher)
Adds the given rankedBindingPublisher
and distributes itsBinding
s.void
clear()
Removes all knownBindingPublisher
s and theirBinding
s.java.lang.Iterable<BindingPublisher>
publishers()
Snapshot of currently registeredBindingPublisher
s.boolean
remove(BindingPublisher publisher)
Removes the givenBindingPublisher
and itsBinding
s.-
Methods inherited from interface org.eclipse.sisu.inject.BeanLocator
locate, watch
-
-
-
-
Method Detail
-
add
boolean add(BindingPublisher publisher)
Adds the given rankedBindingPublisher
and distributes itsBinding
s.- Parameters:
publisher
- The new publisher- Returns:
true
if the publisher was added; otherwisefalse
-
remove
boolean remove(BindingPublisher publisher)
Removes the givenBindingPublisher
and itsBinding
s.- Parameters:
publisher
- The old publisher- Returns:
true
if the publisher was removed; otherwisefalse
-
publishers
java.lang.Iterable<BindingPublisher> publishers()
Snapshot of currently registeredBindingPublisher
s.- Returns:
- The registered
BindingPublisher
s
-
clear
void clear()
Removes all knownBindingPublisher
s and theirBinding
s.
-
-