Package org.springframework.data.repository.config

Examples of org.springframework.data.repository.config.RepositoryConfigurationExtension


   * (non-Javadoc)
   * @see org.springframework.beans.factory.xml.NamespaceHandler#init()
   */
  public void init() {

    RepositoryConfigurationExtension extension = new Neo4jRepositoryConfigurationExtension();
    RepositoryBeanDefinitionParser parser = new RepositoryBeanDefinitionParser(extension);

    registerBeanDefinitionParser("config", new DataGraphBeanDefinitionParser());
    registerBeanDefinitionParser("repositories", parser);
  }
View Full Code Here


public class ElasticsearchNamespaceHandler extends NamespaceHandlerSupport{

    @Override
    public void init() {
        RepositoryConfigurationExtension extension = new ElasticsearchRepositoryConfigExtension();
    RepositoryBeanDefinitionParser parser = new RepositoryBeanDefinitionParser(extension);

    registerBeanDefinitionParser("repositories", parser);
    registerBeanDefinitionParser("node-client", new NodeClientBeanDefinitionParser());
    registerBeanDefinitionParser("transport-client", new TransportClientBeanDefinitionParser());
View Full Code Here

TOP

Related Classes of org.springframework.data.repository.config.RepositoryConfigurationExtension

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.