Class Neo4jEventPublicationAutoConfiguration
java.lang.Object
org.springframework.modulith.events.neo4j.Neo4jEventPublicationAutoConfiguration
- All Implemented Interfaces:
EventPublicationConfigurationExtension
@AutoConfiguration
@AutoConfigureBefore(EventPublicationAutoConfiguration.class)
class Neo4jEventPublicationAutoConfiguration
extends Object
implements EventPublicationConfigurationExtension
Auto-configuration to register a
Neo4jEventPublicationRepository
, a default Configuration
and a
Neo4jIndexInitializer
if enabled.- Since:
- 1.1
- Author:
- Gerrit Meier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) org.neo4j.cypherdsl.core.renderer.Configuration
(package private) Neo4jEventPublicationRepository
neo4jEventPublicationRepository
(org.springframework.data.neo4j.core.Neo4jClient neo4jClient, org.neo4j.cypherdsl.core.renderer.Configuration cypherDslConfiguration, EventSerializer eventSerializer) (package private) Neo4jIndexInitializer
neo4jIndexInitializer
(org.springframework.data.neo4j.core.Neo4jClient neo4jClient)
-
Constructor Details
-
Neo4jEventPublicationAutoConfiguration
Neo4jEventPublicationAutoConfiguration()
-
-
Method Details
-
neo4jEventPublicationRepository
@Bean Neo4jEventPublicationRepository neo4jEventPublicationRepository(org.springframework.data.neo4j.core.Neo4jClient neo4jClient, org.neo4j.cypherdsl.core.renderer.Configuration cypherDslConfiguration, EventSerializer eventSerializer) -
cypherDslConfiguration
@Bean @ConditionalOnMissingBean(org.neo4j.cypherdsl.core.renderer.Configuration.class) org.neo4j.cypherdsl.core.renderer.Configuration cypherDslConfiguration() -
neo4jIndexInitializer
@Bean @ConditionalOnProperty(name="spring.modulith.events.neo4j.event-index.enabled", havingValue="true") Neo4jIndexInitializer neo4jIndexInitializer(org.springframework.data.neo4j.core.Neo4jClient neo4jClient)
-