Class DefaultSLDItemDAO
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<AfterTenantRestartEvent>
-
- de.hybris.platform.directpersistence.read.DefaultSLDItemDAO
-
- All Implemented Interfaces:
SLDItemDAO
,java.util.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 Constructor Description DefaultSLDItemDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getLoadAttributesStatementForType(java.lang.String tableName)
void
init()
SLDDataContainer
load(PK entityPk)
java.util.List<SLDDataContainer>
load(java.util.List<PK> entityPKs)
protected void
onEvent(AfterTenantRestartEvent event)
This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)
and processes the given event.void
setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
load
public SLDDataContainer load(PK entityPk)
- Specified by:
load
in interfaceSLDItemDAO
-
load
public java.util.List<SLDDataContainer> load(java.util.List<PK> entityPKs)
- Specified by:
load
in interfaceSLDItemDAO
-
getLoadAttributesStatementForType
protected java.lang.String getLoadAttributesStatementForType(java.lang.String tableName)
-
setJdbcTemplate
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
onEvent
protected void onEvent(AfterTenantRestartEvent event)
Description copied from class:AbstractEventListener
This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)
and processes the given event.- Specified by:
onEvent
in classAbstractEventListener<AfterTenantRestartEvent>
- Parameters:
event
- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
-