Package org.ametys.core.resources
Class ResourceHandlerExtensionPoint
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractComponentExtensionPoint<ResourceHandler>
-
- org.ametys.core.resources.ResourceHandlerExtensionPoint
-
- All Implemented Interfaces:
ExtensionPoint<ResourceHandler>
,Disposable
,Initializable
,Component
,Contextualizable
,LogEnabled
,Serviceable
,ThreadSafe
public class ResourceHandlerExtensionPoint extends AbstractComponentExtensionPoint<ResourceHandler>
Extension point for resources handler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.runtime.plugin.component.AbstractComponentExtensionPoint
AbstractComponentExtensionPoint.ExtensionConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROLE
Avalon Role-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractComponentExtensionPoint
_context, _extensions, _manager
-
-
Constructor Summary
Constructors Constructor Description ResourceHandlerExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceHandler
getResourceHandler(String source)
Get the extension of max priority matching the provided source, based on the registered suffixes-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractComponentExtensionPoint
addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
ResourceHandlerExtensionPoint
public ResourceHandlerExtensionPoint()
-
-
Method Detail
-
getResourceHandler
public ResourceHandler getResourceHandler(String source)
Get the extension of max priority matching the provided source, based on the registered suffixes- Parameters:
source
- The source- Returns:
- The corresponding extension
-
-