org.springframework.data.neo4j.support
Class GraphDatabaseFactory
java.lang.Object
org.springframework.data.neo4j.support.GraphDatabaseFactory
- All Implemented Interfaces:
- FactoryBean<GraphDatabase>
public class GraphDatabaseFactory
- extends Object
- implements FactoryBean<GraphDatabase>
- Since:
- 25.01.11
- Author:
- mh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graphDatabase
protected GraphDatabase graphDatabase
GraphDatabaseFactory
public GraphDatabaseFactory()
getStoreLocation
public String getStoreLocation()
setStoreLocation
public void setStoreLocation(String storeLocation)
getUserName
public String getUserName()
setUserName
public void setUserName(String userName)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getObject
public GraphDatabase getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean<GraphDatabase>
- Throws:
Exception
shutdown
@PreDestroy
public void shutdown()
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<GraphDatabase>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<GraphDatabase>
Copyright © 2012 SpringSource. All Rights Reserved.