T - the type of Annotation that this harness consumes.W - the type of component that this harness knows how to wire.public interface WiringHarness<T extends java.lang.annotation.Annotation,W>
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<? extends Binding> |
wire(T bound,
BindingContext context,
W toWire)
Performs the wiring of a specific component based on the passed binding annotation.
|
java.util.Collection<? extends Binding> wire(T bound, BindingContext context, W toWire) throws java.lang.IllegalAccessException, java.beans.IntrospectionException
bound - annotation containing the data needed to wire this component to the context.context - metadata about the context for wiring.toWire - the component to be wired by this harness.Binding objects represent the wirings performed by this harness.java.lang.IllegalAccessExceptionjava.beans.IntrospectionException