Package org.springframework.core.annotation

Examples of org.springframework.core.annotation.AnnotationAttributes


   * @see org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport#postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder, org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource)
   */
  @Override
  public void postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource config) {

    AnnotationAttributes attributes = config.getAttributes();

    builder.addPropertyReference("neo4jTemplate", attributes.getString(ANN_NEO4J_TEMPLATE_REF));
    builder.addPropertyReference("neo4jMappingContext", DEFAULT_NEO4J_MAPPING_CONTEXT_REF);
  }
View Full Code Here


  }

  @Override
  public void postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource config) {

    AnnotationAttributes attributes = config.getAttributes();

    String cassandraTemplateRef = attributes.getString("cassandraTemplateRef");
    if (StringUtils.hasText(cassandraTemplateRef)) {
      builder.addPropertyReference("cassandraTemplate", cassandraTemplateRef);
    }
  }
View Full Code Here

   * @see org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport#postProcess(org.springframework.beans.factory.support.BeanDefinitionBuilder, org.springframework.data.repository.config.AnnotationRepositoryConfigurationSource)
   */
  @Override
  public void postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource config) {

    AnnotationAttributes attributes = config.getAttributes();
    builder.addPropertyReference("elasticsearchOperations", attributes.getString("elasticsearchTemplateRef"));
  }
View Full Code Here

TOP

Related Classes of org.springframework.core.annotation.AnnotationAttributes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.