public class SessionInitializationListener extends Object implements IndexerQueryListener, IndexerListener, IndexerBatchListener
| Constructor and Description |
|---|
SessionInitializationListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterBatch(IndexerBatchContext batchContext)
Handles a notification that the processing for a particular
IndexerBatchContext has just been completed. |
void |
afterBatchError(IndexerBatchContext batchContext)
Handles a notification that the processing for a particular
IndexerBatchContext failed. |
void |
afterIndex(IndexerContext context)
Handles a notification that the indexing for a particular
IndexerContext has just been completed. |
void |
afterIndexError(IndexerContext context)
Handles a notification that the indexing for a particular
IndexerContext failed. |
void |
afterQuery(IndexerQueryContext queryContext)
Handles a notification that an indexer query has just completed.
|
void |
afterQueryError(IndexerQueryContext queryContext)
Handles a notification that an indexer query failed (this may also be due to listeners failing).
|
void |
beforeBatch(IndexerBatchContext batchContext)
Handles a notification that the processing for a particular
IndexerBatchContext is about to begin. |
void |
beforeIndex(IndexerContext context)
Handles a notification that the indexing for a particular
IndexerContext is about to begin. |
void |
beforeQuery(IndexerQueryContext queryContext)
Handles a notification that an indexer query is about to begin execution.
|
CatalogVersionService |
getCatalogVersionService() |
I18NService |
getI18nService() |
UserService |
getUserService() |
protected void |
initializeSession(FacetSearchConfig facetSearchConfig,
IndexedType indexedType) |
void |
setCatalogVersionService(CatalogVersionService catalogVersionService) |
void |
setI18nService(I18NService i18nService) |
void |
setUserService(UserService userService) |
public UserService getUserService()
public void setUserService(UserService userService)
public void setI18nService(I18NService i18nService)
public I18NService getI18nService()
public CatalogVersionService getCatalogVersionService()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
public void beforeQuery(IndexerQueryContext queryContext) throws IndexerException
IndexerQueryListenerbeforeQuery in interface IndexerQueryListenerqueryContext - - the IndexerQueryContextIndexerException - if an error occurspublic void afterQuery(IndexerQueryContext queryContext) throws IndexerException
IndexerQueryListenerafterQuery in interface IndexerQueryListenerqueryContext - - the IndexerQueryContextIndexerException - if an error occurspublic void afterQueryError(IndexerQueryContext queryContext) throws IndexerException
IndexerQueryListenerafterQueryError in interface IndexerQueryListenerqueryContext - - the IndexerQueryContextIndexerException - if an error occurspublic void beforeIndex(IndexerContext context) throws IndexerException
IndexerListenerIndexerContext is about to begin.beforeIndex in interface IndexerListenercontext - - the IndexerContextIndexerException - if an error occurspublic void afterIndex(IndexerContext context) throws IndexerException
IndexerListenerIndexerContext has just been completed.afterIndex in interface IndexerListenercontext - - the IndexerContextIndexerException - if an error occurspublic void afterIndexError(IndexerContext context) throws IndexerException
IndexerListenerIndexerContext failed.afterIndexError in interface IndexerListenercontext - - the IndexerContextIndexerException - if an error occurspublic void beforeBatch(IndexerBatchContext batchContext) throws IndexerException
IndexerBatchListenerIndexerBatchContext is about to begin.beforeBatch in interface IndexerBatchListenerbatchContext - - the IndexerBatchContextIndexerException - if an error occurspublic void afterBatch(IndexerBatchContext batchContext) throws IndexerException
IndexerBatchListenerIndexerBatchContext has just been completed.afterBatch in interface IndexerBatchListenerbatchContext - - the IndexerBatchContextIndexerException - if an error occurspublic void afterBatchError(IndexerBatchContext batchContext) throws IndexerException
IndexerBatchListenerIndexerBatchContext failed.afterBatchError in interface IndexerBatchListenerbatchContext - - the IndexerBatchContextIndexerException - if an error occursprotected void initializeSession(FacetSearchConfig facetSearchConfig, IndexedType indexedType)
Copyright © 2017 SAP SE. All Rights Reserved.