Interface ContextInjector.InjectionAim

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void injectInto​(java.lang.Object resource, java.lang.Object toInject, boolean allMustBeAvailable)
      Inject the toInject into this field or bean setter on object resource.
    • Method Detail

      • injectInto

        void injectInto​(java.lang.Object resource,
                        java.lang.Object toInject,
                        boolean allMustBeAvailable)
                 throws java.lang.IllegalArgumentException,
                        InjectException,
                        java.lang.reflect.InvocationTargetException
        Inject the toInject into this field or bean setter on object resource.
        Parameters:
        resource -
        toInject -
        allMustBeAvailable -
        Throws:
        java.lang.IllegalArgumentException
        InjectException
        java.lang.reflect.InvocationTargetException
        See Also:
        FieldWrapper#set(Object, Object), Method.invoke(Object, Object...)