Package org.ametys.core.resources
Class ResourceHandlerProviderExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<ResourceHandlerProvider>
org.ametys.core.resources.ResourceHandlerProviderExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<ResourceHandlerProvider>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class ResourceHandlerProviderExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<ResourceHandlerProvider>
Extension point for
ResourceHandlerProvider
.-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceHandler
(String source) Get the extension of max priority matching the provided source, based on the registered suffixesMethods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon Role
-
-
Constructor Details
-
ResourceHandlerProviderExtensionPoint
-
-
Method Details
-
getResourceHandler
Get the extension of max priority matching the provided source, based on the registered suffixes- Parameters:
source
- The source- Returns:
- The corresponding extension
- Throws:
Exception
- if an error occurs during ResourceHandler creation.
-