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

Packages that use AssetSource
Package
Description
org.apache.tapestry5.internal.bindings
[INTERNAL USE ONLY] support classes for binding; API subject to change
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.internal.services.assets
[INTERNAL USE ONLY] asset support services; API subject to change
org.apache.tapestry5.internal.services.javascript
[INTERNAL USE ONLY] JavaScript support implementations; API subject to change
org.apache.tapestry5.internal.transform
[INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
org.apache.tapestry5.modules
org.apache.tapestry5.services.javascript
Support for Javascript (and CSS), including dynamically-added JavaScript and services that manage dynamically-added links to JavaScript (and CSS) assets.
org.apache.tapestry5.test
Support for testing Tapestry pages

- ## Uses of AssetSource in org.apache.tapestry5.internal.bindings

  Constructors in org.apache.tapestry5.internal.bindings with parameters of type AssetSource
  Modifier
  Constructor
  Description
  ``
  `AssetBindingFactory(AssetSource source)`
  ``
  `ContextBindingFactory(AssetSource source)`

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

  Classes in org.apache.tapestry5.internal.services that implement AssetSource
  Modifier and Type
  Class
  Description
  `class`
  `AssetSourceImpl`
  Constructors in org.apache.tapestry5.internal.services with parameters of type AssetSource
  Modifier
  Constructor
  Description
  ``
  `AssetInjectionProvider(AssetSource assetSource)`
  ``
  `AssetObjectProvider(AssetSource source, TypeCoercer typeCoercer, SymbolSource symbolSource)`

- ## Uses of AssetSource in org.apache.tapestry5.internal.services.assets

  Constructors in org.apache.tapestry5.internal.services.assets with parameters of type AssetSource
  Modifier
  Constructor
  Description
  ``
  `ClasspathAssetRequestHandler(ResourceStreamer streamer, AssetSource assetSource, String baseFolder, ClasspathAssetProtectionRule classpathAssetProtectionRule)`
  ``
  `CSSURLRewriter(StreamableResourceSource delegate, OperationTracker tracker, AssetSource assetSource, AssetChecksumGenerator checksumGenerator, boolean strictCssUrlRewriting)`

- ## Uses of AssetSource in org.apache.tapestry5.internal.services.javascript

  Constructors in org.apache.tapestry5.internal.services.javascript with parameters of type AssetSource
  Modifier
  Constructor
  Description
  ``
  `ModuleManagerImpl(ResponseCompressionAnalyzer compressionAnalyzer, AssetSource assetSource, Map<String,JavaScriptModuleConfiguration> configuration, Messages globalMessages, StreamableResourceSource streamableResourceSource, boolean compactJSON, boolean productionMode, String modulePathPrefix, PathConstructor pathConstructor)`

- ## Uses of AssetSource in org.apache.tapestry5.internal.transform

  Constructors in org.apache.tapestry5.internal.transform with parameters of type AssetSource
  Modifier
  Constructor
  Description
  ``
  `ImportWorker(JavaScriptSupport javascriptSupport, SymbolSource symbolSource, AssetSource assetSource, ResourceChangeTracker resourceChangeTracker, PropertyValueProviderWorker propertyValueProviderWorker)`

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

  Methods in org.apache.tapestry5.modules with parameters of type AssetSource
  Modifier and Type
  Method
  Description
  `static void`
  TapestryModule.`contributeTypeCoercer(MappedConfiguration<CoercionTuple.Key,CoercionTuple> configuration, ObjectLocator objectLocator, ThreadLocale threadLocale, AssetSource assetSource, DynamicTemplateParser dynamicTemplateParser)`
  Adds coercions: String to `SelectModel` Map to `SelectModel` Collection to `GridDataSource` null to `GridDataSource` List to `SelectModel` `ComponentResourcesAware` (typically, a component) to `ComponentResources` `ComponentResources` to `PropertyOverrides` String to `Renderable` `Renderable` to `Block` String to `DateFormat` String to `Resource` (via `resourceForPath(String)`) `Renderable` to `RenderCommand` String to `Pattern` String to `DateFormat` `Resource` to `DynamicTemplate` `Asset` to `Resource` `ValueEncoder` to `ValueEncoderFactory`
  `StreamableResourceSource`
  AssetsModule.`enableCSSURLRewriting(StreamableResourceSource delegate, OperationTracker tracker, AssetSource assetSource, AssetChecksumGenerator checksumGenerator, boolean strictCssUrlRewriting)`
  `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).
  `static void`
  TapestryModule.`provideStandardInjectionProviders(OrderedConfiguration<InjectionProvider2> configuration, SymbolSource symbolSource, AssetSource assetSource)`
  Default based on `MasterObjectProvider` Named Handles fields with the `Named` annotation Block injects fields of type `Block` CommonResources Access to properties of resources (log, messages, etc.) Asset injection of assets (triggered via `Path` annotation), with the path relative to the component class Service Ordered last, for use when Inject is present and nothing else works, matches field type against Tapestry IoC services
  `static void`
  AssetsModule.`setupGlobalMessageCatalog(AssetSource assetSource, Resource applicationCatalog, OrderedConfiguration<Resource> configuration)`
  Contributes: ClientLocalization A virtual resource of formatting symbols for decimal numbers Core Built in messages used by Tapestry's default validators and components AppCatalog The Resource defined by `SymbolConstants.APPLICATION_CATALOG`

- ## Uses of AssetSource in org.apache.tapestry5.services.javascript

  Constructors in org.apache.tapestry5.services.javascript with parameters of type AssetSource
  Modifier
  Constructor
  Description
  ``
  `ExtensibleJavaScriptStack(AssetSource assetSource, List<StackExtension> configuration)`

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

  Methods in org.apache.tapestry5.test that return AssetSource
  Modifier and Type
  Method
  Description
  `protected final AssetSource`
  TapestryTestCase.`mockAssetSource()`
  Methods in org.apache.tapestry5.test with parameters of type AssetSource
  Modifier and Type
  Method
  Description
  `protected final void`
  TapestryTestCase.`train_getAsset(AssetSource source, Resource root, String path, Locale locale, Asset asset)`
  `protected final void`
  TapestryTestCase.`train_getClasspathAsset(AssetSource source, String path, Locale locale, Asset asset)`
  `protected final void`
  TapestryTestCase.`train_getClasspathAsset(AssetSource source, String path, Asset asset)`