public class DefaultBindingRegistry extends java.lang.Object implements BindingRegistry
Constructor and Description |
---|
DefaultBindingRegistry(Reporter reporter) |
Modifier and Type | Method and Description |
---|---|
void |
addBindings(java.lang.Iterable<Binding> bindings)
Stores the given Bindings
|
java.util.List<Binding> |
getBindings(java.lang.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(java.lang.Iterable<Binding> bindings)
addBindings
in interface BindingRegistry
public Selection selection(ComponentWorkbench workbench)
Selection
for the given workbench.selection
in interface BindingRegistry
public java.util.List<Binding> getBindings(java.lang.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-2014 The Apache Software Foundation. All Rights Reserved.