Assert.notNull(bean,
"Cannot process bean injection into null bean reference");
AutowiredAnnotationBeanPostProcessor bpp = new AutowiredAnnotationBeanPostProcessor();
bpp.setBeanFactory(kurentoApplicationContextInternalReference
.getAutowireCapableBeanFactory());
bpp.processInjection(bean);
}
public static <T> T getConfiguration(Class<T> configurationClass) {
Assert.notNull(kurentoApplicationContextInternalReference,
"Cannot access configuration before creating Kurento Application Context");