Class MarketplaceSessionInitializationListener
- java.lang.Object
-
- de.hybris.platform.marketplaceservices.catalog.impl.MarketplaceSessionInitializationListener
-
- All Implemented Interfaces:
IndexerBatchListener,IndexerListener,IndexerQueryListener
public class MarketplaceSessionInitializationListener extends java.lang.Object implements IndexerQueryListener, IndexerListener, IndexerBatchListener
-
-
Constructor Summary
Constructors Constructor Description MarketplaceSessionInitializationListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterBatch(IndexerBatchContext context)Handles a notification that the processing for a particularIndexerBatchContexthas just been completed.voidafterBatchError(IndexerBatchContext context)Handles a notification that the processing for a particularIndexerBatchContextfailed.voidafterIndex(IndexerContext context)Handles a notification that the indexing for a particularIndexerContexthas just been completed.voidafterIndexError(IndexerContext context)Handles a notification that the indexing for a particularIndexerContextfailed.voidafterQuery(IndexerQueryContext context)Handles a notification that an indexer query has just completed.voidafterQueryError(IndexerQueryContext context)Handles a notification that an indexer query failed (this may also be due to listeners failing).voidbeforeBatch(IndexerBatchContext context)Handles a notification that the processing for a particularIndexerBatchContextis about to begin.voidbeforeIndex(IndexerContext context)Handles a notification that the indexing for a particularIndexerContextis about to begin.voidbeforeQuery(IndexerQueryContext context)Handles a notification that an indexer query is about to begin execution.protected VendorServicegetVendorService()protected voidinitializeSession(FacetSearchConfig facetSearchConfig)voidsetVendorService(VendorService vendorService)
-
-
-
Method Detail
-
afterBatch
public void afterBatch(IndexerBatchContext context) throws IndexerException
Description copied from interface:IndexerBatchListenerHandles a notification that the processing for a particularIndexerBatchContexthas just been completed.- Specified by:
afterBatchin interfaceIndexerBatchListener- Parameters:
context- - theIndexerBatchContext- Throws:
IndexerException- if an error occurs
-
afterBatchError
public void afterBatchError(IndexerBatchContext context) throws IndexerException
Description copied from interface:IndexerBatchListenerHandles a notification that the processing for a particularIndexerBatchContextfailed.- Specified by:
afterBatchErrorin interfaceIndexerBatchListener- Parameters:
context- - theIndexerBatchContext- Throws:
IndexerException- if an error occurs
-
beforeBatch
public void beforeBatch(IndexerBatchContext context) throws IndexerException
Description copied from interface:IndexerBatchListenerHandles a notification that the processing for a particularIndexerBatchContextis about to begin.- Specified by:
beforeBatchin interfaceIndexerBatchListener- Parameters:
context- - theIndexerBatchContext- Throws:
IndexerException- if an error occurs
-
afterIndex
public void afterIndex(IndexerContext context) throws IndexerException
Description copied from interface:IndexerListenerHandles a notification that the indexing for a particularIndexerContexthas just been completed.- Specified by:
afterIndexin interfaceIndexerListener- Parameters:
context- - theIndexerContext- Throws:
IndexerException- if an error occurs
-
afterIndexError
public void afterIndexError(IndexerContext context) throws IndexerException
Description copied from interface:IndexerListenerHandles a notification that the indexing for a particularIndexerContextfailed.- Specified by:
afterIndexErrorin interfaceIndexerListener- Parameters:
context- - theIndexerContext- Throws:
IndexerException- if an error occurs
-
beforeIndex
public void beforeIndex(IndexerContext context) throws IndexerException
Description copied from interface:IndexerListenerHandles a notification that the indexing for a particularIndexerContextis about to begin.- Specified by:
beforeIndexin interfaceIndexerListener- Parameters:
context- - theIndexerContext- Throws:
IndexerException- if an error occurs
-
afterQuery
public void afterQuery(IndexerQueryContext context) throws IndexerException
Description copied from interface:IndexerQueryListenerHandles a notification that an indexer query has just completed.- Specified by:
afterQueryin interfaceIndexerQueryListener- Parameters:
context- - theIndexerQueryContext- Throws:
IndexerException- if an error occurs
-
afterQueryError
public void afterQueryError(IndexerQueryContext context) throws IndexerException
Description copied from interface:IndexerQueryListenerHandles a notification that an indexer query failed (this may also be due to listeners failing).- Specified by:
afterQueryErrorin interfaceIndexerQueryListener- Parameters:
context- - theIndexerQueryContext- Throws:
IndexerException- if an error occurs
-
beforeQuery
public void beforeQuery(IndexerQueryContext context) throws IndexerException
Description copied from interface:IndexerQueryListenerHandles a notification that an indexer query is about to begin execution.- Specified by:
beforeQueryin interfaceIndexerQueryListener- Parameters:
context- - theIndexerQueryContext- Throws:
IndexerException- if an error occurs
-
initializeSession
protected void initializeSession(FacetSearchConfig facetSearchConfig)
-
getVendorService
protected VendorService getVendorService()
-
setVendorService
public void setVendorService(VendorService vendorService)
-
-