public class DefaultBindingRegistry extends Object implements BindingRegistry
Constructor and Description |
---|
DefaultBindingRegistry(Reporter reporter) |
Modifier and Type | Method and Description |
---|---|
void |
addBindings(Iterable<Binding> bindings)
Stores the given Bindings
|
List<Binding> |
getBindings(String descriptor)
Find the list of
Binding registered with the given annotation type. |
Selection |
selection(ComponentWorkbench workbench)
Initiate a
Selection for the given workbench. |
protected final Reporter reporter
public DefaultBindingRegistry(Reporter reporter)
public void addBindings(Iterable<Binding> bindings)
addBindings
in interface BindingRegistry
public Selection selection(ComponentWorkbench workbench)
Selection
for the given workbench.selection
in interface BindingRegistry
public List<Binding> getBindings(String descriptor)
BindingRegistry
Binding
registered with the given annotation type.
This method returns an empty List if no bindings are registered.getBindings
in interface BindingRegistry
descriptor
- denotes the annotation's typeBinding
registered with the given descriptor, the list may be empty if no bindings are found.Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.