Class TrivialContextDefaults
-
- All Implemented Interfaces:
public final class TrivialContextDefaults
-
-
Field Summary
Fields Modifier and Type Field Description private final ImmutableConfigconfigurationprivate final ChainedUrlNormalizerurlNormalizerprivate final WebDbwebDbprivate final GlobalCacheFactoryglobalCacheFactoryprivate final <Error class: unknown class>fetchComponentprivate final ParseComponentparseComponentprivate final <Error class: unknown class>updateComponentprivate final <Error class: unknown class>loadComponentprivate final BrowserFactorybrowserFactoryprivate final BasicBrowserManagerbrowserManagerprivate final TaskLoopstaskLoopsprivate final PulsarContextcontext
-
Constructor Summary
Constructors Constructor Description TrivialContextDefaults(PulsarContext context)
-
Method Summary
Modifier and Type Method Description final ImmutableConfiggetConfiguration()The default unmodified config final ChainedUrlNormalizergetUrlNormalizer()Url default normalizer final WebDbgetWebDb()The default web db final GlobalCacheFactorygetGlobalCacheFactory()The default global cache final <Error class: unknown class>getFetchComponent()The default fetch component — prefers the Spring bean when available so that ProtocolFactory has the browser protocol registered. final ParseComponentgetParseComponent()The default parse component final <Error class: unknown class>getUpdateComponent()The default update component final <Error class: unknown class>getLoadComponent()The default load component final BrowserFactorygetBrowserFactory()final BasicBrowserManagergetBrowserManager()final TaskLoopsgetTaskLoops()The default main loop final PulsarContextgetContext()-
-
Constructor Detail
-
TrivialContextDefaults
TrivialContextDefaults(PulsarContext context)
-
-
Method Detail
-
getConfiguration
final ImmutableConfig getConfiguration()
The default unmodified config
-
getUrlNormalizer
final ChainedUrlNormalizer getUrlNormalizer()
Url default normalizer
-
getWebDb
final WebDb getWebDb()
The default web db
-
getGlobalCacheFactory
final GlobalCacheFactory getGlobalCacheFactory()
The default global cache
-
getFetchComponent
final <Error class: unknown class> getFetchComponent()
The default fetch component — prefers the Spring bean when available so that ProtocolFactory has the browser protocol registered. Falls back to an empty BatchFetchComponent only when no Spring context is active (e.g. unit tests).
-
getParseComponent
final ParseComponent getParseComponent()
The default parse component
-
getUpdateComponent
final <Error class: unknown class> getUpdateComponent()
The default update component
-
getLoadComponent
final <Error class: unknown class> getLoadComponent()
The default load component
-
getBrowserFactory
final BrowserFactory getBrowserFactory()
-
getBrowserManager
final BasicBrowserManager getBrowserManager()
-
getTaskLoops
final TaskLoops getTaskLoops()
The default main loop
-
getContext
final PulsarContext getContext()
-
-
-
-