public class GraphDatabaseFactoryBean extends Object implements FactoryBean<GraphDatabase>
| Modifier and Type | Field and Description |
|---|---|
protected GraphDatabase |
graphDatabase |
| Constructor and Description |
|---|
GraphDatabaseFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected GraphDatabase graphDatabase
public String getStoreLocation()
public void setStoreLocation(String storeLocation)
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public GraphDatabase getObject() throws Exception
getObject in interface FactoryBean<GraphDatabase>Exception@PreDestroy public void shutdown()
public Class<?> getObjectType()
getObjectType in interface FactoryBean<GraphDatabase>public boolean isSingleton()
isSingleton in interface FactoryBean<GraphDatabase>Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.