public class InjectingController
extends com.fatwire.assetapi.data.BaseController
BaseController that invokes the
Injector to inject dependencies into itself. Injection is
done in the handleRequest() method. As most implementing
classes of BaseController are meant to override the
doWork(Models models) method, objects will be injected by
the time doWork is executed.
The injector is configured in the Factory. Additional injection
capabilities can therefore be added without having to alter this object.
This class also times the execution of the handleRequest() method using
the Stopwatch class.| Constructor and Description |
|---|
InjectingController() |
| Modifier and Type | Method and Description |
|---|---|
COM.FutureTense.Interfaces.DependenciesAwareModelAndView |
handleRequest() |
addSessionVariable, addSessionVariables, addVariable, addVariables, doWork, getAssetId, getCookie, getDevice, getElementCatalogParameters, getHeaders, getModels, getQueryParams, getReaderFactory, getSessionVariables, getTemplateMap, getTemplateParams, getVariables, getView, logAssetDeps, logDeps, lookUp, newAssetLinkInfo, newAssetReader, newBlobLinkInfo, newEditableTemplateFragment, newElementFragment, newFilter, newFragmentList, newFragmentList, newLegacyAssetLinkInfo, newLegacyBlobLinkInfo, newLinkFactory, newNavigationReader, newOrderChain, newOrderChain, newRecommendationReader, newSearcher, newSiteEntryFragment, newTableReader, newTemplateFragment, removeSessionVariable, removeVariable, setCookie, setDevice, setElementCatalogParameters, setHeaders, setICS, setModels, setQueryParams, setReaderFactory, setSessionVariables, setTemplateMap, setTemplateParams, setVariables, setView, watch, watchCopyright © 2016–2017. All rights reserved.