Class DefaultSLDItemDAO
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterTenantRestartEvent>
de.hybris.platform.directpersistence.read.DefaultSLDItemDAO
- All Implemented Interfaces:
SLDItemDAO,EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<AfterTenantRestartEvent>
public class DefaultSLDItemDAO
extends AbstractEventListener<AfterTenantRestartEvent>
implements SLDItemDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetLoadAttributesStatementForType(String tableName) voidinit()protected voidonEvent(AfterTenantRestartEvent event) This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Constructor Details
-
DefaultSLDItemDAO
public DefaultSLDItemDAO()
-
-
Method Details
-
init
@PostConstruct public void init() -
load
- Specified by:
loadin interfaceSLDItemDAO
-
load
- Specified by:
loadin interfaceSLDItemDAO
-
getLoadAttributesStatementForType
-
setJdbcTemplate
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) -
onEvent
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<AfterTenantRestartEvent>- Parameters:
event- the event to be processed- See Also:
-
ApplicationListener.onApplicationEvent(ApplicationEvent)
-