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 changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.services.assets [INTERNAL USE ONLY] asset support services; API subject to changeorg.apache.tapestry5.internal.services.javascript [INTERNAL USE ONLY] JavaScript support implementations; API subject to changeorg.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 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 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 Constructor Description ClasspathAssetRequestHandler(ResourceStreamer streamer, AssetSource assetSource, 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 Constructor Description ModuleManagerImpl(ResponseCompressionAnalyzer compressionAnalyzer, AssetSource assetSource, <,JavaScriptModuleConfiguration> configuration, Messages globalMessages, StreamableResourceSource streamableResourceSource, boolean compactJSON, boolean productionMode, modulePathPrefix, PathConstructor pathConstructor)
-
Uses of AssetSource in org.apache.tapestry5.internal.transform
Constructors in org.apache.tapestry5.internal.transform with parameters of type AssetSource Constructor Description ImportWorker(JavaScriptSupport javascriptSupport, SymbolSource symbolSource, AssetSource assetSource)
-
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 toSelectModel
Map toSelectModel
Collection toGridDataSource
null toGridDataSource
List toSelectModel
ComponentResourcesAware
(typically, a component) toComponentResources
ComponentResources
toPropertyOverrides
String toRenderable
Renderable
toBlock
String to String toResource
(viaresourceForPath(String)
)Renderable
toRenderCommand
String to String toResource
toDynamicTemplate
Asset
toResource
ValueEncoder
toValueEncoderFactory
StreamableResourceSource
AssetsModule. enableCSSURLRewriting(StreamableResourceSource delegate, OperationTracker tracker, AssetSource assetSource, AssetChecksumGenerator checksumGenerator, boolean strictCssUrlRewriting)
static void
AssetsModule. ,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 (combinedJavaScriptStack
files).static void
TapestryModule. provideStandardInjectionProviders(OrderedConfiguration<InjectionProvider2> configuration, SymbolSource symbolSource, AssetSource assetSource)
Default based onMasterObjectProvider
Named Handles fields with the annotation Block injects fields of typeBlock
CommonResources Access to properties of resources (log, messages, etc.) Asset injection of assets (triggered viaPath
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 servicesstatic 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 bySymbolConstants.APPLICATION_CATALOG
-
Uses of AssetSource in org.apache.tapestry5.services.javascript
Constructors in org.apache.tapestry5.services.javascript with parameters of type AssetSource Constructor Description ExtensibleJavaScriptStack(AssetSource assetSource, <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 AssetSource
TapestryTestCase. mockAssetSource()
Methods in org.apache.tapestry5.test with parameters of type AssetSource Modifier and Type Method Description protected void
TapestryTestCase. train_getAsset(AssetSource source, Resource root, path, locale, Asset asset)
protected void
TapestryTestCase. train_getClasspathAsset(AssetSource source, path, locale, Asset asset)
protected void
TapestryTestCase. train_getClasspathAsset(AssetSource source, path, Asset asset)
-