public class ODatabasePoolFactory extends Object implements org.springframework.beans.factory.FactoryBean<com.orientechnologies.orient.core.db.ODatabasePool>
Constructor and Description |
---|
ODatabasePoolFactory(String url,
String database,
String username,
String password) |
ODatabasePoolFactory(String url,
String database,
String username,
String password,
com.orientechnologies.orient.core.db.ODatabaseType dbType,
Integer minPoolSize,
Integer maxPoolSize) |
ODatabasePoolFactory(String url,
String database,
String username,
String password,
com.orientechnologies.orient.core.db.ODatabaseType odbType,
Map<com.orientechnologies.orient.core.config.OGlobalConfiguration,Object> configs) |
Modifier and Type | Method and Description |
---|---|
com.orientechnologies.orient.core.db.ODatabasePool |
getObject() |
Class<?> |
getObjectType() |
com.orientechnologies.orient.core.db.ODatabasePool |
getPool() |
boolean |
isSingleton() |
void |
setPool(com.orientechnologies.orient.core.db.ODatabasePool pool) |
public ODatabasePoolFactory(String url, String database, String username, String password, com.orientechnologies.orient.core.db.ODatabaseType odbType, Map<com.orientechnologies.orient.core.config.OGlobalConfiguration,Object> configs)
public ODatabasePoolFactory(String url, String database, String username, String password)
public com.orientechnologies.orient.core.db.ODatabasePool getPool()
public void setPool(com.orientechnologies.orient.core.db.ODatabasePool pool)
public com.orientechnologies.orient.core.db.ODatabasePool getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<com.orientechnologies.orient.core.db.ODatabasePool>
Exception
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<com.orientechnologies.orient.core.db.ODatabasePool>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<com.orientechnologies.orient.core.db.ODatabasePool>
Copyright © 2018. All rights reserved.