org.springframework.data.repository.config.RepositoryBeanDefinitionParser Java Examples

The following examples show how to use org.springframework.data.repository.config.RepositoryBeanDefinitionParser. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SolrNamespaceHandler.java    From dubbox with Apache License 2.0 5 votes vote down vote up
@Override
public void init() {

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

	registerBeanDefinitionParser("repositories", parser);
	registerBeanDefinitionParser("embedded-solr-server", new EmbeddedSolrServerBeanDefinitionParser());
	registerBeanDefinitionParser("solr-client", new HttpSolrClientBeanDefinitionParser());
}
 
Example #2
Source File: EbeanRepositoryNameSpaceHandler.java    From spring-data-ebean with Apache License 2.0 5 votes vote down vote up
@Override
public void init() {

    RepositoryConfigurationExtension extension = new EbeanRepositoryConfigExtension();
    RepositoryBeanDefinitionParser repositoryBeanDefinitionParser = new RepositoryBeanDefinitionParser(extension);

    registerBeanDefinitionParser("repositories", repositoryBeanDefinitionParser);
}
 
Example #3
Source File: MybatisRepositoryNameSpaceHandler.java    From spring-data-mybatis with Apache License 2.0 5 votes vote down vote up
@Override
public void init() {
	RepositoryConfigurationExtension extension = new MybatisRepositoryConfigExtension();
	RepositoryBeanDefinitionParser repositoryBeanDefinitionParser = new RepositoryBeanDefinitionParser(
			extension);

	registerBeanDefinitionParser("repositories", repositoryBeanDefinitionParser);
	registerBeanDefinitionParser("auditing", new AuditingBeanDefinitionParser());
}
 
Example #4
Source File: CrateNamespaceHandler.java    From spring-data-crate with Apache License 2.0 5 votes vote down vote up
@Override
public void init() {
    RepositoryConfigurationExtension extension = new CrateRepositoryConfigExtension();
    RepositoryBeanDefinitionParser parser = new RepositoryBeanDefinitionParser(extension);

    registerBeanDefinitionParser("repositories", parser);
    registerBeanDefinitionParser("client", new CrateClientBeanDefinitionParser());
    registerBeanDefinitionParser("schema-export", new CratePersistentEntitySchemaManagerBeanDefinitionParser());
}
 
Example #5
Source File: SimpleDbRepositoryNamespaceHandler.java    From spring-data-simpledb with MIT License 5 votes vote down vote up
@Override
public void init() {
	RepositoryConfigurationExtension extension = new SimpleDbRepositoryConfigExtension();
	RepositoryBeanDefinitionParser repositoryBeanDefinitionParser = new RepositoryBeanDefinitionParser(extension);

	registerBeanDefinitionParser("repositories", repositoryBeanDefinitionParser);
}
 
Example #6
Source File: DynamoDBRepositoryNameSpaceHandler.java    From spring-data-dynamodb with Apache License 2.0 3 votes vote down vote up
public void init() {

		RepositoryConfigurationExtension extension = new DynamoDBRepositoryConfigExtension();
		RepositoryBeanDefinitionParser repositoryBeanDefinitionParser = new RepositoryBeanDefinitionParser(extension);

		registerBeanDefinitionParser("repositories", repositoryBeanDefinitionParser);
	}