code: @SuppressWarnings("unchecked")
      public final <T> T getBean(String beanName) {
          if(this.applicationContext != null) {
              return (T) this.applicationContext.getBean(beanName);
          }
          
          return null;
      }
docs: Utility method to extract a Spring Bean from the Spring
  {@link ApplicationContext} that is supplied in the Quartz
  {@link JobExecutionContext}. The method is parameterized to use dynamic
  typing.
  
  @param <T>
  the bean type
  
  @param beanName
  the bean name to get
  
  @return the bean instance