public abstract class CompletableBindingRegistry extends java.lang.Object implements BindingRegistry
Constructor and Description |
---|
CompletableBindingRegistry(BindingRegistry delegate,
Reporter reporter) |
Modifier and Type | Method and Description |
---|---|
void |
addBindings(java.lang.Iterable<Binding> bindings) |
protected abstract java.util.List<Binding> |
createBindings(org.objectweb.asm.Type type) |
java.util.List<Binding> |
getBindings(java.lang.String descriptor)
Find the list of
Binding registered with the given annotation type. |
Selection |
selection(ComponentWorkbench workbench) |
public CompletableBindingRegistry(BindingRegistry delegate, Reporter reporter)
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.protected abstract java.util.List<Binding> createBindings(org.objectweb.asm.Type type)
public void addBindings(java.lang.Iterable<Binding> bindings)
addBindings
in interface BindingRegistry
public Selection selection(ComponentWorkbench workbench)
selection
in interface BindingRegistry
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.