Class Neo4jIndexInitializer
java.lang.Object
org.springframework.modulith.events.neo4j.Neo4jIndexInitializer
- All Implemented Interfaces:
InitializingBean
Automatically creates an index on the
Neo4jEventPublication.eventHash
field.- Since:
- 1.1
- Author:
- Gerrit Meier
-
Constructor Summary
ConstructorDescriptionNeo4jIndexInitializer
(org.springframework.data.neo4j.core.Neo4jClient neo4jClient) -
Method Summary
-
Constructor Details
-
Neo4jIndexInitializer
Neo4jIndexInitializer(org.springframework.data.neo4j.core.Neo4jClient neo4jClient)
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Throws:
Exception
-