Package org.ametys.core.resources
Class JSResourceHandlerProvider
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.resources.AbstractResourceHandlerProvider
-
- org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
-
- org.ametys.core.resources.JSResourceHandlerProvider
-
- All Implemented Interfaces:
ResourceHandlerProvider
,LogEnabled
,Prioritizable
,Configurable
,Contextualizable
,Serviceable
public class JSResourceHandlerProvider extends AbstractSimpleResourceHandlerProvider
ResourceHandlerProvider
for 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 JSResourceHandlerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceHandler
createResourceHandler(String source)
Actually creates theResourceHandler
.-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.core.resources.ResourceHandlerProvider
getPriority
-
-
-
-
Constructor Detail
-
JSResourceHandlerProvider
public JSResourceHandlerProvider()
-
-
Method Detail
-
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
.
-
-