Package org.ametys.core.minimize.js
Class MinimizedJSResourceHandlerProvider
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.resources.AbstractResourceHandlerProvider
-
- org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
-
- org.ametys.core.minimize.js.MinimizedJSResourceHandlerProvider
-
- All Implemented Interfaces:
ResourceHandlerProvider
,LogEnabled
,Prioritizable
,Configurable
,Contextualizable
,Serviceable
public class MinimizedJSResourceHandlerProvider extends AbstractSimpleResourceHandlerProvider
ResourceHandlerProvider
for minimized JS 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
Constructors Constructor Description MinimizedJSResourceHandlerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceHandler
createResourceHandler(String source)
Actually creates theResourceHandler
.int
getPriority()
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 Detail
-
MinimizedJSResourceHandlerProvider
public MinimizedJSResourceHandlerProvider()
-
-
Method Detail
-
getPriority
public int 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
protected ResourceHandler createResourceHandler(String source)
Description copied from class:AbstractSimpleResourceHandlerProvider
Actually creates theResourceHandler
.- Specified by:
createResourceHandler
in classAbstractSimpleResourceHandlerProvider
- Parameters:
source
- the requested resource.- Returns:
- the created
ResourceHandler
.
-
-