Class DefaultBaseGateway

java.lang.Object
de.hybris.platform.task.impl.gateways.DefaultBaseGateway
All Implemented Interfaces:
BaseGateway
Direct Known Subclasses:
DefaultSchedulerStateGateway, DefaultTasksQueueGateway, DefaultWorkerStateGateway

public abstract class DefaultBaseGateway extends Object implements BaseGateway
  • Field Details

    • jdbcTemplate

      protected final org.springframework.jdbc.core.JdbcTemplate jdbcTemplate
  • Constructor Details

    • DefaultBaseGateway

      public DefaultBaseGateway(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
  • Method Details

    • createTable

      public boolean createTable()
      Specified by:
      createTable in interface BaseGateway
    • getCreateTableStatement

      protected abstract String getCreateTableStatement()
    • dropTable

      public void dropTable()
      Specified by:
      dropTable in interface BaseGateway
    • doesTableExist

      public boolean doesTableExist()
      Specified by:
      doesTableExist in interface BaseGateway
    • tryCreatingTableAndLogException

      protected boolean tryCreatingTableAndLogException(org.slf4j.Logger logger, String message, Exception ex)
    • getJdbcTemplate

      protected org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()