code: @SuppressWarnings("unchecked")
  	@Override
  	public void publishEvent(ApplicationEvent event) {
  
  		if (event instanceof MappingContextEvent) {
  			this.schmeaCreator
  					.onApplicationEvent((MappingContextEvent<SolrPersistentEntity<?>, SolrPersistentProperty>) event);
  		}
  	}
docs: /*
  (non-Javadoc)
  @see org.springframework.context.ApplicationEventPublisher#publishEvent(org.springframework.context.ApplicationEvent)