Package com.palantir.ptoss.cinch.core
Interface WiringHarness<T extends java.lang.annotation.Annotation,W>
- 
- Type Parameters:
 T- the type ofAnnotationthat this harness consumes.W- the type of component that this harness knows how to wire.
- All Known Implementing Classes:
 CheckBoxListSelectionWiringHarness,JCheckBoxWiringHarness,JComboBoxSelectionWiringHarness,JComboBoxWiringHarness,JLabelWiringHarness,JListSelectionWiringHarness,JListWiringHarness,JPasswordFieldWiringHarness,JProgressBarWiringHarness,JSliderWiringHarness,JSpinnerWiringHarness,JTextComponentWiringHarness,JToggleButtonWiringHarness,PasswordEditorWiringHarness
public interface WiringHarness<T extends java.lang.annotation.Annotation,W>Interface for classes that actually perform a specific wiring. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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. 
 - 
 
- 
- 
Method Detail
- 
wire
java.util.Collection<? extends Binding> wire(T bound, BindingContext context, W toWire) throws java.lang.IllegalAccessException, java.beans.IntrospectionException
Performs the wiring of a specific component based on the passed binding annotation.- Parameters:
 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.- Returns:
 - one or more 
Bindingobjects represent the wirings performed by this harness. - Throws:
 java.lang.IllegalAccessExceptionjava.beans.IntrospectionException
 
 - 
 
 -