Class MarketplaceSessionInitializationListener
java.lang.Object
de.hybris.platform.marketplaceservices.catalog.impl.MarketplaceSessionInitializationListener
- All Implemented Interfaces:
IndexerBatchListener,IndexerListener,IndexerQueryListener
public class MarketplaceSessionInitializationListener
extends Object
implements IndexerQueryListener, IndexerListener, IndexerBatchListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterBatch(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 VendorServiceprotected voidinitializeSession(FacetSearchConfig facetSearchConfig) voidsetVendorService(VendorService vendorService)
-
Constructor Details
-
MarketplaceSessionInitializationListener
public MarketplaceSessionInitializationListener()
-
-
Method Details
-
afterBatch
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
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
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
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
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
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
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
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
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
-
getVendorService
-
setVendorService
-