Class DefaultBaseGateway
java.lang.Object
de.hybris.platform.task.impl.gateways.DefaultBaseGateway
- All Implemented Interfaces:
BaseGateway
- Direct Known Subclasses:
DefaultSchedulerStateGateway,DefaultTasksQueueGateway,DefaultWorkerStateGateway
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.springframework.jdbc.core.JdbcTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidprotected abstract Stringprotected org.springframework.jdbc.core.JdbcTemplateprotected booleantryCreatingTableAndLogException(org.slf4j.Logger logger, String message, Exception ex) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.task.impl.gateways.BaseGateway
getTableName
-
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:
createTablein interfaceBaseGateway
-
getCreateTableStatement
-
dropTable
public void dropTable()- Specified by:
dropTablein interfaceBaseGateway
-
doesTableExist
public boolean doesTableExist()- Specified by:
doesTableExistin interfaceBaseGateway
-
tryCreatingTableAndLogException
-
getJdbcTemplate
protected org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()
-