Class EsIndexTemplateConfig


  • @Component
    public class EsIndexTemplateConfig
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      EsIndexTemplateConfig​(org.springframework.data.elasticsearch.core.ElasticsearchOperations operations)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> findAnnotatedClasses​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, java.lang.String... packagesToBeScanned)  
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EsIndexTemplateConfig

        public EsIndexTemplateConfig​(org.springframework.data.elasticsearch.core.ElasticsearchOperations operations)
    • Method Detail

      • run

        @PostConstruct
        public void run()
      • findAnnotatedClasses

        public java.util.Set<java.lang.String> findAnnotatedClasses​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
                                                                    java.lang.String... packagesToBeScanned)