public class SessionFactoryProvider extends Object
SessionFactory
instance based on a configurable
Configuration
and custom packages to scan.NodeEntityScan
Constructor and Description |
---|
SessionFactoryProvider() |
Modifier and Type | Method and Description |
---|---|
org.neo4j.ogm.session.SessionFactory |
getSessionFactory() |
void |
setConfiguration(org.neo4j.ogm.config.Configuration configuration)
Set the configuration to use.
|
void |
setPackagesToScan(String... packagesToScan)
Set the packages to scan.
|
public void setConfiguration(org.neo4j.ogm.config.Configuration configuration)
configuration
- the configurationpublic void setPackagesToScan(String... packagesToScan)
packagesToScan
- the packages to scanpublic org.neo4j.ogm.session.SessionFactory getSessionFactory()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.