public static void processBeanInjections(final Object bean) {
        val ac = getConfigurableApplicationContext();
        if (ac != null) {
            val bpp = new AutowiredAnnotationBeanPostProcessor();
            bpp.setBeanFactory(ac.getAutowireCapableBeanFactory());
            bpp.processInjection(bean);
        }
    }
Process bean injections.

@param bean the bean
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/ApplicationContextProvider.java