public class SearchBootstrapApplicationCtx extends Object implements ApplicationCtx
| Constructor and Description |
|---|
SearchBootstrapApplicationCtx() |
| Modifier and Type | Method and Description |
|---|---|
com.lmax.disruptor.EventFactory<org.greencheek.related.api.searching.RelatedItemSearch> |
createRelatedItemSearchEventFactory() |
org.greencheek.related.api.searching.RelatedItemSearchFactory |
createRelatedItemSearchFactory()
Returns the factory that is response for creating and populating RelatedItemSearch
objects.
|
RelatedItemSearchRequestFactory |
createRelatedSearchRequestFactory()
Creates the RelatedItemSearchRequest factory
|
RelatedItemSearchExecutorFactory |
createSearchExecutorFactory()
Creates the executor that is responsible for taking search requests, executing them,
and sending the results onwards for processing.
|
RelatedItemSearchRepository |
createSearchRepository()
Class that physically performs the search requests, and marshalls the incoming results
back into the domain
|
org.greencheek.related.api.searching.lookup.SearchRequestLookupKeyFactory |
createSearchRequestLookupKeyFactory()
Creates the search request key factory.
|
org.greencheek.related.util.config.Configuration |
getConfiguration() |
RelatedItemSearchRequestProcessor |
getRequestProcessor()
Process that accepts the type of search request being performed,
the search request parameters and the search response contexts to which
the reponses are to be sent.
|
SearchResponseContextHandlerLookup |
getResponseContextHandlerLookup() |
SearchResponseContextLookup |
getResponseContextLookup()
Returns the class that is responsible for storing incoming requests against target that are awaiting the
results of that request.
|
ResponseEventHandler |
getResponseEventHandler() |
SearchRequestParameterValidatorLocator |
getSearchRequestParameterValidator() |
RelatedContentSearchRequestProcessorHandlerFactory |
getSearchRequestProcessingHandlerFactory() |
SearchResultsConverterFactory |
getSearchResultsConverterFactory()
returns the factory object that is able to lookup and return a SearchResultsConvert that
is able to convert a SearchResult type to another respresentation
SearchResultsConverter |
RelatedItemSearchResultsToResponseGateway |
getSearchResultsToReponseGateway()
Returns the gateway that uses a
SearchResponseContextLookup
to store SearchRequestLookupKey against awaiting response
objects (SearchResponseContextHolder. |
void |
shutdown() |
public void shutdown()
shutdown in interface ApplicationCtxpublic ResponseEventHandler getResponseEventHandler()
public SearchResponseContextHandlerLookup getResponseContextHandlerLookup()
public SearchResponseContextLookup getResponseContextLookup()
ApplicationCtxgetResponseContextLookup in interface ApplicationCtxpublic SearchResultsConverterFactory getSearchResultsConverterFactory()
ApplicationCtxSearchResultsConvertergetSearchResultsConverterFactory in interface ApplicationCtxpublic RelatedItemSearchResultsToResponseGateway getSearchResultsToReponseGateway()
ApplicationCtxSearchResponseContextLookup
to store SearchRequestLookupKey against awaiting response
objects (SearchResponseContextHolder.
Search results for the pending requests, are then sent to the awaiting Response Objects that were associated with the
search request keygetSearchResultsToReponseGateway in interface ApplicationCtxpublic RelatedContentSearchRequestProcessorHandlerFactory getSearchRequestProcessingHandlerFactory()
getSearchRequestProcessingHandlerFactory in interface ApplicationCtxpublic RelatedItemSearchRequestProcessor getRequestProcessor()
ApplicationCtxgetRequestProcessor in interface ApplicationCtxpublic org.greencheek.related.util.config.Configuration getConfiguration()
getConfiguration in interface ApplicationCtxpublic SearchRequestParameterValidatorLocator getSearchRequestParameterValidator()
getSearchRequestParameterValidator in interface ApplicationCtxpublic RelatedItemSearchExecutorFactory createSearchExecutorFactory()
ApplicationCtxcreateSearchExecutorFactory in interface ApplicationCtxpublic com.lmax.disruptor.EventFactory<org.greencheek.related.api.searching.RelatedItemSearch> createRelatedItemSearchEventFactory()
createRelatedItemSearchEventFactory in interface ApplicationCtxpublic org.greencheek.related.api.searching.RelatedItemSearchFactory createRelatedItemSearchFactory()
ApplicationCtxcreateRelatedItemSearchFactory in interface ApplicationCtxpublic RelatedItemSearchRepository createSearchRepository()
ApplicationCtxcreateSearchRepository in interface ApplicationCtxpublic RelatedItemSearchRequestFactory createRelatedSearchRequestFactory()
ApplicationCtxcreateRelatedSearchRequestFactory in interface ApplicationCtxpublic org.greencheek.related.api.searching.lookup.SearchRequestLookupKeyFactory createSearchRequestLookupKeyFactory()
ApplicationCtxcreateSearchRequestLookupKeyFactory in interface ApplicationCtxCopyright © 2014. All Rights Reserved.