org.jumpmind.symmetric.service.impl
Class BootstrapService
java.lang.Object
org.jumpmind.symmetric.service.impl.BootstrapService
- All Implemented Interfaces:
- IBootstrapService
public class BootstrapService
- extends java.lang.Object
- implements IBootstrapService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parameterService
protected IParameterService parameterService
jdbcTemplate
protected org.springframework.jdbc.core.JdbcTemplate jdbcTemplate
BootstrapService
public BootstrapService()
setupDatabase
public void setupDatabase()
- Specified by:
setupDatabase in interface IBootstrapService
setupDatabase
public void setupDatabase(boolean force)
- Specified by:
setupDatabase in interface IBootstrapService
syncTriggers
public void syncTriggers()
- This is done periodically throughout the day (so it needs to be
efficient). If the trigger is created for the first time (no previous
trigger existed), then should we auto-resync data?
- Specified by:
syncTriggers in interface IBootstrapService
getCachedTriggers
public java.util.Map<java.lang.Integer,Trigger> getCachedTriggers(boolean refreshCache)
- Specified by:
getCachedTriggers in interface IBootstrapService
register
@Deprecated
public void register()
- Deprecated.
- Specified by:
register in interface IBootstrapService
validateConfiguration
public void validateConfiguration()
- Specified by:
validateConfiguration in interface IBootstrapService
heartbeat
@Transactional
public void heartbeat()
- Specified by:
heartbeat in interface IBootstrapService
setConfigurationService
public void setConfigurationService(IConfigurationService configurationService)
setDbDialect
public void setDbDialect(IDbDialect dbDialect)
setNodeService
public void setNodeService(INodeService nodeService)
setTablePrefix
public void setTablePrefix(java.lang.String tablePrefix)
setDataService
public void setDataService(IDataService dataService)
setUpgradeService
public void setUpgradeService(IUpgradeService upgradeService)
setClusterService
public void setClusterService(IClusterService clusterService)
setRegistrationService
public void setRegistrationService(IRegistrationService registrationService)
setDefaultChannels
public void setDefaultChannels(java.util.List<Channel> defaultChannels)
setJdbcTemplate
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbc)
getSimpleTemplate
protected org.springframework.jdbc.core.simple.SimpleJdbcTemplate getSimpleTemplate()
unwrapSqlException
protected java.sql.SQLException unwrapSqlException(java.lang.Throwable e)
setSql
public void setSql(java.util.Map<java.lang.String,java.lang.String> sql)
getSql
public java.lang.String getSql(java.lang.String key)
setParameterService
public void setParameterService(IParameterService parameterService)
Copyright © 2007-2008. All Rights Reserved.