## Uses of Interface
org.apache.tapestry5.services.AssetFactory

- Packages that use AssetFactory
  Package | Description
  --- | ---
  org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
  org.apache.tapestry5.modules |
  org.apache.tapestry5.test | Support for testing Tapestry pages

- - ### Uses of AssetFactory in org.apache.tapestry5.internal.services

    Classes in org.apache.tapestry5.internal.services that implement AssetFactory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractAssetFactory`
    `class` | `ClasspathAssetFactory` Generates Assets for files on the classpath.
    `class` | `ContextAssetFactory` Implementation of `AssetFactory` for assets that are part of the web application context.
    `class` | `ExternalUrlAssetFactory`

    Constructors in org.apache.tapestry5.internal.services with parameters of type AssetFactory
    Constructor and Description
    `ResourceStreamerImpl(Request request, Response response, StreamableResourceSource streamableResourceSource, OperationTracker tracker, boolean productionMode, ResourceChangeTracker resourceChangeTracker, String omitExpirationCacheControlHeader, AssetFactory classpathAssetFactory, AssetFactory contextAssetFactory)`

    Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type AssetFactory
    Constructor and Description
    `AssetSourceImpl(ThreadLocale threadLocale, Map<String,AssetFactory> configuration, SymbolSource symbolSource, org.slf4j.Logger logger, OperationTracker tracker)`
    `AssetSourceImpl(ThreadLocale threadLocale, Map<String,AssetFactory> configuration, SymbolSource symbolSource, org.slf4j.Logger logger, OperationTracker tracker, Request request)`

  - ### Uses of AssetFactory in org.apache.tapestry5.modules

    Methods in org.apache.tapestry5.modules that return AssetFactory
    Modifier and Type | Method and Description
    --- | ---
    `static AssetFactory` | AssetsModule.`buildContextAssetFactory(ApplicationGlobals globals, AssetPathConstructor assetPathConstructor, ResponseCompressionAnalyzer compressionAnalyzer, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource)`

    Methods in org.apache.tapestry5.modules with parameters of type AssetFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | AssetsModule.`configureStandardAssetFactories(MappedConfiguration<String,AssetFactory> configuration, AssetFactory contextAssetFactory, AssetFactory classpathAssetFactory)`
    `static void` | TapestryModule.`contributeComponentTemplateLocator(OrderedConfiguration<ComponentTemplateLocator> configuration, AssetFactory contextAssetFactory, String applicationFolder, ComponentClassResolver componentClassResolver)` Contributes two template locators: Default Searches for the template on the classpath (`DefaultTemplateLocator` Page Searches for page templates in the context (`PageTemplateLocator`)
    `static void` | AssetsModule.`provideBuiltinAssetDispatchers(MappedConfiguration<String,AssetRequestHandler> configuration, AssetFactory contextAssetFactory, StackAssetRequestHandler stackAssetRequestHandler, ClasspathAssetAliasManager classpathAssetAliasManager, ResourceStreamer streamer, AssetSource assetSource, ClasspathAssetProtectionRule classpathAssetProtectionRule)` Contributes an handler for each mapped classpath alias, as well handlers for context assets and stack assets (combined `JavaScriptStack` files).

    Method parameters in org.apache.tapestry5.modules with type arguments of type AssetFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | AssetsModule.`configureStandardAssetFactories(MappedConfiguration<String,AssetFactory> configuration, AssetFactory contextAssetFactory, AssetFactory classpathAssetFactory)`

  - ### Uses of AssetFactory in org.apache.tapestry5.test

    Methods in org.apache.tapestry5.test that return AssetFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected AssetFactory` | TapestryTestCase.`mockAssetFactory()`

    Methods in org.apache.tapestry5.test with parameters of type AssetFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | TapestryTestCase.`train_createAsset(AssetFactory factory, Resource resource, Asset asset)`
    `protected void` | TapestryTestCase.`train_getRootResource(AssetFactory factory, Resource rootResource)`

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.