Package org.ametys.cms.transformation
Class URIResolverExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<URIResolver>
org.ametys.cms.transformation.URIResolverExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<URIResolver>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class URIResolverExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<URIResolver>
Extension point for
URIResolver
s.-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResolverForType
(String type) Returns theURIResolver
corresponding to the given type.void
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon Role
-
-
Constructor Details
-
URIResolverExtensionPoint
public URIResolverExtensionPoint()
-
-
Method Details
-
initializeExtensions
Description copied from interface:ExtensionPoint
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.- Specified by:
initializeExtensions
in interfaceExtensionPoint<URIResolver>
- Overrides:
initializeExtensions
in classAbstractThreadSafeComponentExtensionPoint<URIResolver>
- Throws:
Exception
- if something wrong occurs
-
getResolverForType
Returns theURIResolver
corresponding to the given type.- Parameters:
type
- the type.- Returns:
- the
URIResolver
ornull
if not found.
-