Package org.ametys.core.minimize.js
Class JSSourceMapResourceHandlerProvider
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.resources.AbstractResourceHandlerProvider
org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
org.ametys.core.minimize.js.JSSourceMapResourceHandlerProvider
- All Implemented Interfaces:
ResourceHandlerProvider
,LogEnabled
,Prioritizable
,Configurable
,Contextualizable
,Serviceable
ResourceHandlerProvider
for JS source map files.-
Field Summary
Fields inherited from class org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
_supportedSuffixes
Fields inherited from class org.ametys.core.resources.AbstractResourceHandlerProvider
_context, _manager
Fields inherited from interface org.ametys.core.resources.ResourceHandlerProvider
MAX_PRIORITY, MIN_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ResourceHandler
createResourceHandler
(String source) Actually creates theResourceHandler
.int
Get the priority for the component.Methods inherited from class org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
configure, getResourceHandler
Methods inherited from class org.ametys.core.resources.AbstractResourceHandlerProvider
contextualize, service, setup
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
JSSourceMapResourceHandlerProvider
public JSSourceMapResourceHandlerProvider()
-
-
Method Details
-
getPriority
Description copied from interface:Prioritizable
Get the priority for the component. On components usingPrioritizable
interface, each implementation define the order. In most cases, less is the number, more prior is the component.- Returns:
- the priority
-
createResourceHandler
Description copied from class:AbstractSimpleResourceHandlerProvider
Actually creates theResourceHandler
.- Specified by:
createResourceHandler
in classAbstractSimpleResourceHandlerProvider
- Parameters:
source
- the requested resource.- Returns:
- the created
ResourceHandler
.
-