public class JdbcEventdServiceManager extends Object implements org.springframework.beans.factory.InitializingBean, EventdServiceManager
JdbcEventdServiceManager class.
| Constructor and Description |
|---|
JdbcEventdServiceManager()
Constructor for JdbcEventdServiceManager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
void |
dataSourceSync()
dataSourceSync
|
DataSource |
getDataSource()
getDataSource
|
int |
getServiceId(String serviceName)
Lookup the service ID for a specific service by name.
|
void |
setDataSource(DataSource dataSource)
setDataSource
|
public JdbcEventdServiceManager()
Constructor for JdbcEventdServiceManager.
public int getServiceId(String serviceName) throws org.springframework.dao.DataAccessException
getServiceId in interface EventdServiceManagerserviceName - a String object.org.springframework.dao.DataAccessException - if there is an error accessing the databasepublic void dataSourceSync()
dataSourceSync
dataSourceSync in interface EventdServiceManagerpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - if any.public DataSource getDataSource()
getDataSource
DataSource object.public void setDataSource(DataSource dataSource)
setDataSource
dataSource - a DataSource object.Copyright © 2020. All rights reserved.