Package org.ametys.core.source
Class OptionalSourceFallbackExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<OptionalSourceFallback>
org.ametys.core.source.OptionalSourceFallbackExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<OptionalSourceFallback>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class OptionalSourceFallbackExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<OptionalSourceFallback>
Extension point for optional source fallback
-
Field Summary
FieldsFields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
Constructors -
Method Summary
Methods 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
-
OptionalSourceFallbackExtensionPoint
public OptionalSourceFallbackExtensionPoint()
-
-
Method Details
-
fallback
Fallback to a default value if the uri is not supported- Parameters:
uri
- The uri that is not supported- Returns:
- The fallback url if any or null otherwise
-