@Transactional public class EventdServiceManagerHibernate extends Object implements org.springframework.beans.factory.InitializingBean, EventdServiceManager
EventdServiceManagerHibernate class.
Constructor and Description |
---|
EventdServiceManagerHibernate()
Constructor for EventdServiceManagerHibernate.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
void |
dataSourceSync()
dataSourceSync
|
int |
getServiceId(String serviceName)
Lookup the service ID for a specific service by name.
|
ServiceTypeDao |
getServiceTypeDao()
getServiceTypeDao
|
void |
setServiceTypeDao(ServiceTypeDao serviceTypeDao)
setServiceTypeDao
|
public EventdServiceManagerHibernate()
Constructor for EventdServiceManagerHibernate.
public int getServiceId(String serviceName) throws org.springframework.dao.DataAccessException
getServiceId
in interface EventdServiceManager
serviceName
- a String
object.org.springframework.dao.DataAccessException
- if there is an error accessing the databasepublic void dataSourceSync()
dataSourceSync
dataSourceSync
in interface EventdServiceManager
public void afterPropertiesSet() throws Exception
afterPropertiesSet
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
- if any.public ServiceTypeDao getServiceTypeDao()
getServiceTypeDao
ServiceTypeDao
object.public void setServiceTypeDao(ServiceTypeDao serviceTypeDao)
setServiceTypeDao
serviceTypeDao
- a ServiceTypeDao
object.Copyright © 2021. All rights reserved.