Java Code Examples for org.springframework.data.repository.core.RepositoryMetadata#isReactiveRepository()
The following examples show how to use
org.springframework.data.repository.core.RepositoryMetadata#isReactiveRepository() .
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: Neo4jRepositoryConfigurationExtension.java From sdn-rx with Apache License 2.0 | 4 votes |
@Override protected boolean useRepositoryConfiguration(RepositoryMetadata metadata) { return !metadata.isReactiveRepository(); }
Example 2
Source File: ReactiveNeo4jRepositoryConfigurationExtension.java From sdn-rx with Apache License 2.0 | 4 votes |
@Override protected boolean useRepositoryConfiguration(RepositoryMetadata metadata) { return metadata.isReactiveRepository(); }
Example 3
Source File: ReactivePostgresRepositoryConfigurationExtension.java From vertx-spring-boot with Apache License 2.0 | 4 votes |
@Override protected boolean useRepositoryConfiguration(RepositoryMetadata metadata) { return metadata.isReactiveRepository(); }
Example 4
Source File: CosmosRepositoryConfigurationExtension.java From spring-data-cosmosdb with MIT License | 4 votes |
@Override protected boolean useRepositoryConfiguration(RepositoryMetadata metadata) { // CosmosRepository is the sync repository, and hence returning !isReactiveRepository. // ReactiveCosmosRepository is reactive repository. return !metadata.isReactiveRepository(); }
Example 5
Source File: ReactiveCosmosRepositoryConfigurationExtension.java From spring-data-cosmosdb with MIT License | 4 votes |
@Override protected boolean useRepositoryConfiguration(RepositoryMetadata metadata) { return metadata.isReactiveRepository(); }
Example 6
Source File: FirestoreRepositoryConfigurationExtension.java From spring-cloud-gcp with Apache License 2.0 | 4 votes |
@Override protected boolean useRepositoryConfiguration(RepositoryMetadata repositoryMetadata) { return repositoryMetadata.isReactiveRepository(); }