Class OrderStartupIndexer
- java.lang.Object
-
- com.broadleafcommerce.search.index.order.master.OrderStartupIndexer
-
- All Implemented Interfaces:
org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
public class OrderStartupIndexer extends Object implements org.springframework.context.SmartLifecycle
Support optional order reindex at application startup. This is driven via thebroadleaf.order.reindex.startup
property.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description OrderStartupIndexer(com.broadleafcommerce.search.index.core.service.ReindexDelegationService reindexDelegationService)
-
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()
- Specified by:
stop
in interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interfaceorg.springframework.context.Lifecycle
-
-