Class Neo4jDriverFactory

java.lang.Object
io.micronaut.neo4j.bolt.Neo4jDriverFactory

@Factory public class Neo4jDriverFactory extends Object
Default factory for creating the Neo4j Driver.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • Neo4jDriverFactory

      public Neo4jDriverFactory(Neo4jDriverBuilder driverBuilder)
      Constructor.
      Parameters:
      driverBuilder - driverBuilder
  • Method Details

    • boltDriver

      @Bean(preDestroy="close") @Refreshable("neo4j") public org.neo4j.driver.Driver boltDriver()
      Returns:
      The Neo4j Bolt Driver