Java Code Examples for org.springframework.data.repository.config.RepositoryConfigurationExtension

The following examples show how to use org.springframework.data.repository.config.RepositoryConfigurationExtension. These examples are extracted from open source projects. 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 Project: dubbox   Source File: SolrNamespaceHandler.java    License: 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
@Override
public void init() {

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

    registerBeanDefinitionParser("repositories", repositoryBeanDefinitionParser);
}
 
Example 3
@Override
public void init() {
	RepositoryConfigurationExtension extension = new MybatisRepositoryConfigExtension();
	RepositoryBeanDefinitionParser repositoryBeanDefinitionParser = new RepositoryBeanDefinitionParser(
			extension);

	registerBeanDefinitionParser("repositories", repositoryBeanDefinitionParser);
	registerBeanDefinitionParser("auditing", new AuditingBeanDefinitionParser());
}
 
Example 4
Source Project: spring-data-crate   Source File: CrateNamespaceHandler.java    License: 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
@Override
public void init() {
	RepositoryConfigurationExtension extension = new SimpleDbRepositoryConfigExtension();
	RepositoryBeanDefinitionParser repositoryBeanDefinitionParser = new RepositoryBeanDefinitionParser(extension);

	registerBeanDefinitionParser("repositories", repositoryBeanDefinitionParser);
}
 
Example 6
@Override
protected RepositoryConfigurationExtension getRepositoryConfigurationExtension() {
	return new Neo4jRepositoryConfigurationExtension();
}
 
Example 7
@Override
protected RepositoryConfigurationExtension getRepositoryConfigurationExtension() {
	return new ReactiveNeo4jRepositoryConfigurationExtension();
}
 
Example 8
Source Project: sdn-rx   Source File: Neo4jRepositoriesRegistrar.java    License: Apache License 2.0 4 votes vote down vote up
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new Neo4jRepositoryConfigurationExtension();
}
 
Example 9
Source Project: sdn-rx   Source File: ReactiveNeo4jRepositoriesRegistrar.java    License: Apache License 2.0 4 votes vote down vote up
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new ReactiveNeo4jRepositoryConfigurationExtension();
}
 
Example 10
@Override
protected RepositoryConfigurationExtension getExtension() {
    return new ReactivePostgresRepositoryConfigurationExtension();
}
 
Example 11
Source Project: spring-data   Source File: ArangoRepositoriesRegistrar.java    License: Apache License 2.0 4 votes vote down vote up
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new ArangoRepositoryConfigurationExtension();
}
 
Example 12
Source Project: dubbox   Source File: SolrRepositoriesRegistrar.java    License: Apache License 2.0 4 votes vote down vote up
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new SolrRepositoryConfigExtension();
}
 
Example 13
@Override
protected RepositoryConfigurationExtension getExtension() {
    return new ReactiveCosmosRepositoryConfigurationExtension();
}
 
Example 14
Source Project: spring-data-cosmosdb   Source File: CosmosRepositoriesRegistrar.java    License: MIT License 4 votes vote down vote up
@Override
protected RepositoryConfigurationExtension getExtension() {
    return new CosmosRepositoryConfigurationExtension();
}
 
Example 15
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new DatastoreRepositoryConfigurationExtension();
}
 
Example 16
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new SpannerRepositoryConfigurationExtension();
}
 
Example 17
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new FirestoreRepositoryConfigurationExtension();
}
 
Example 18
@Override
protected RepositoryConfigurationExtension getRepositoryConfigurationExtension() {
	return new DatastoreRepositoryConfigurationExtension();
}
 
Example 19
@Override
protected RepositoryConfigurationExtension getRepositoryConfigurationExtension() {
	return new FirestoreRepositoryConfigurationExtension();
}
 
Example 20
@Override
protected RepositoryConfigurationExtension getRepositoryConfigurationExtension() {
	return new SpannerRepositoryConfigurationExtension();
}
 
Example 21
@Override
protected RepositoryConfigurationExtension getExtension() {
    return new EbeanRepositoryConfigExtension();
}
 
Example 22
@Override
protected RepositoryConfigurationExtension getRepositoryConfigurationExtension() {
	return new GemfireRepositoryConfigurationExtension();
}
 
Example 23
Source Project: spring-vault   Source File: VaultRepositoriesRegistrar.java    License: Apache License 2.0 4 votes vote down vote up
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new VaultRepositoryConfigurationExtension();
}
 
Example 24
@Override
protected RepositoryConfigurationExtension getRepositoryConfigurationExtension() {
	return new MybatisRepositoryConfigExtension();
}
 
Example 25
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new MybatisRepositoryConfigExtension();
}
 
Example 26
Source Project: ignite   Source File: IgniteRepositoriesRegistar.java    License: Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override protected RepositoryConfigurationExtension getExtension() {
    return new IgniteRepositoryConfigurationExtension();
}
 
Example 27
Source Project: ignite   Source File: IgniteRepositoriesRegistar.java    License: Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override protected RepositoryConfigurationExtension getExtension() {
    return new IgniteRepositoryConfigurationExtension();
}
 
Example 28
Source Project: ignite   Source File: IgniteRepositoriesRegistar.java    License: Apache License 2.0 4 votes vote down vote up
/** {@inheritDoc} */
@Override protected RepositoryConfigurationExtension getExtension() {
    return new IgniteRepositoryConfigurationExtension();
}
 
Example 29
@Override
protected RepositoryConfigurationExtension getExtension() {
	return new CrateRepositoryConfigExtension();
}
 
Example 30
@Override
protected RepositoryConfigurationExtension getExtension() {
    return new HazelcastRepositoryConfigurationExtension();
}