org.talend.esb.sam.server.persistence
Class EventRepositoryImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
org.talend.esb.sam.server.persistence.EventRepositoryImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.talend.esb.sam.common.event.persistence.EventRepository
public class EventRepositoryImpl
- extends org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
- implements org.talend.esb.sam.common.event.persistence.EventRepository
The Class EventRepositoryImpl is implementing the event repository logic.
| Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
| Methods inherited from class org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport |
getSimpleJdbcTemplate, initTemplateConfig |
| Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, releaseConnection, setDataSource, setJdbcTemplate |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventRepositoryImpl
public EventRepositoryImpl()
setDialect
public void setDialect(DatabaseDialect dialect)
- Sets the database dialect.
- Parameters:
dialect - the database dialect
writeEvent
public void writeEvent(org.talend.esb.sam.common.event.Event event)
- Specified by:
writeEvent in interface org.talend.esb.sam.common.event.persistence.EventRepository
readEvent
public org.talend.esb.sam.common.event.Event readEvent(long id)
- Specified by:
readEvent in interface org.talend.esb.sam.common.event.persistence.EventRepository
Copyright © 2011–2013 Talend Inc.. All rights reserved.