Class JSASSResourceURIExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<JSASSResourceURI>
org.ametys.plugins.core.ui.resources.css.JSASSResourceURIExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<JSASSResourceURI>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class JSASSResourceURIExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<JSASSResourceURI>
Extension point for resource URIs supported by JSASS
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
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
-
JSASSResourceURIExtensionPoint
public JSASSResourceURIExtensionPoint()
-
-
Method Details
-
resolve
Resolve the URI, or returns the original uri if it is not supported- Parameters:
uri
- The URI- Returns:
- The resolved URI
- Throws:
URISyntaxException
- If the URI is not supported
-
resolvePath
Resolve a path and return the URI corresponding, or null if the path is not supported- Parameters:
path
- The path- Returns:
- The URI
-