title: Programmatic run-time injection/auto-wiring in quarkus
body: <p>I am looking for a a way to do runtime injection of a bean in Quarkus. I realize this might be a bit on an unorthodox approach for quarkus, and something on an anti-pattern, so no need to point that out, I am fully aware :)</p>
  <p>What I am looking for is a way to construct a bean during runtime, and having any annotated properties injected from the Quarkus context.</p>
  <p>In Spring Boot I would get the application context by having a bean initialized normally by spring boot, using the <a href="https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/ApplicationContextAware.html" rel="nofollow noreferrer">ApplicationContextAware</a> interface to inject the application context. I would then use that as a factory by calling <a href="https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/ApplicationContext.html#getAutowireCapableBeanFactory--" rel="nofollow noreferrer">ApplicationContext.getAutowireCapableBeanFactory()</a> to get the auto-wire factory and using the <a href="https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/beans/factory/config/AutowireCapableBeanFactory.html#autowireBean-java.lang.Object-" rel="nofollow noreferrer">autowireBean</a> method on the factory to autowire my beans during runtime. I am wondering if something similar is possible in Quarkus?</p>