public class DataSourceServiceImpl extends ServiceSupport implements DataSourceService
Constructor and Description |
---|
DataSourceServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
disableConnection(String name) |
String |
encryptPassword(String pass) |
Object |
getCachedQuery(String key) |
DataSource |
getDatasource(String name) |
Struct |
getDatasources() |
String |
getDbdir() |
Struct |
getDefaults() |
Struct |
getDrivers() |
Number |
getMaxQueryCount() |
Array |
getNames() |
boolean |
isJadoZoomLoaded() |
void |
purgeQueryCache() |
void |
removeDatasource(String name) |
void |
setCachedQuery(String arg0,
Object arg1) |
void |
setMaxQueryCount(Number maxQueryCount) |
boolean |
verifyDatasource(String name) |
getMetaData, getProperty, getResourceBundle, getStatus, restart, setProperty, start, stop
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetaData, getProperty, getResourceBundle, getStatus, restart, setProperty, start, stop
public DataSourceServiceImpl()
public Struct getDefaults()
getDefaults
in interface DataSourceService
public Number getMaxQueryCount()
getMaxQueryCount
in interface DataSourceService
public void setMaxQueryCount(Number maxQueryCount)
setMaxQueryCount
in interface DataSourceService
public String encryptPassword(String pass)
encryptPassword
in interface DataSourceService
public String getDbdir()
getDbdir
in interface DataSourceService
public Object getCachedQuery(String key)
getCachedQuery
in interface DataSourceService
public void setCachedQuery(String arg0, Object arg1)
setCachedQuery
in interface DataSourceService
public void purgeQueryCache() throws IOException
purgeQueryCache
in interface DataSourceService
IOException
public boolean disableConnection(String name)
disableConnection
in interface DataSourceService
public boolean isJadoZoomLoaded()
isJadoZoomLoaded
in interface DataSourceService
public Struct getDrivers() throws ServiceException, SecurityException
getDrivers
in interface DataSourceService
ServiceException
SecurityException
public Struct getDatasources() throws SecurityException
getDatasources
in interface DataSourceService
SecurityException
public Array getNames() throws SecurityException
getNames
in interface DataSourceService
SecurityException
public void removeDatasource(String name) throws SQLException, SecurityException
removeDatasource
in interface DataSourceService
SQLException
SecurityException
public boolean verifyDatasource(String name) throws SQLException, SecurityException
verifyDatasource
in interface DataSourceService
SQLException
SecurityException
public DataSource getDatasource(String name) throws SQLException, SecurityException
getDatasource
in interface DataSourceService
SQLException
SecurityException
Copyright © 2015 Lucee