Interface WiringHarness<T extends java.lang.annotation.Annotation,​W>

    • 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 Binding objects represent the wirings performed by this harness.
        Throws:
        java.lang.IllegalAccessException
        java.beans.IntrospectionException