Package org.neo4j.ogm.config
Class Configuration
java.lang.Object
org.neo4j.ogm.config.Configuration
A generic configuration class that can be set up programmatically
or via a properties file.
- Author:
- Vince Bickers, Mark Angrish, Michael J. Simons
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forConfigurationclassstatic enumConfiguration to change the precedence from the current threads context -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]intstatic ClassLoadergetResourceUrl(String resourceLocation) getURI()inthashCode()booleanString[]mergeBasePackagesWith(String... anotherSetOfBasePackages)
-
Field Details
-
CLASS_LOADER_PRECEDENCE
-
-
Method Details
-
getDefaultClassLoader
- Returns:
- The classloader to be used by OGM.
-
getAutoIndex
-
getDumpDir
-
getDumpFilename
-
getURI
-
getDriverClassName
-
getConnectionPoolSize
public int getConnectionPoolSize() -
getEncryptionLevel
-
getTrustStrategy
-
getTrustCertFile
-
getConnectionLivenessCheckTimeout
-
getVerifyConnection
-
getNeo4jConfLocation
-
getDatabase
-
getDatabaseSelectionProvider
-
getUserSelectionProvider
-
isEmbeddedHA
public boolean isEmbeddedHA()- Returns:
- True if current configuration is setup to use embedded HA.
-
getResourceUrl
- Throws:
FileNotFoundException
-
getCredentials
-
getCustomProperties
-
getUseNativeTypes
-
getUseStrictQuerying
-
getBasePackages
-
mergeBasePackagesWith
-
equals
-
hashCode
public int hashCode()
-