Spring Data Neo4j

org.springframework.data.neo4j.support
Class GraphDatabaseFactory

java.lang.Object
  extended by 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

Field Summary
protected  GraphDatabase graphDatabase
           
 
Constructor Summary
GraphDatabaseFactory()
           
 
Method Summary
 GraphDatabase getObject()
           
 Class<?> getObjectType()
           
 String getPassword()
           
 String getStoreLocation()
           
 String getUserName()
           
 boolean isSingleton()
           
 void setPassword(String password)
           
 void setStoreLocation(String storeLocation)
           
 void setUserName(String userName)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graphDatabase

protected GraphDatabase graphDatabase
Constructor Detail

GraphDatabaseFactory

public GraphDatabaseFactory()
Method Detail

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>

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.