Interface SpringObjectAutowirer

  • All Known Implementing Classes:
    SpringAutowirerImpl

    public interface SpringObjectAutowirer
    Auto-wires bean with context and return. It can be used to minimize dependencies in factories for creating multiple objects that requires many arguments to be autowired. Spring constructor autowire is used. For setter autowire use {@link @org.springframework.beans.factory.annotation.Autowired} annotation
    Since:
    5.0
    Author:
    Eugene Petrenko
    • Method Detail

      • autowire

        <T> T autowire​(@NotNull
                       java.lang.Class<T> clazz,
                       @NotNull
                       java.lang.Object... nonContextParams)