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
URIResolvers.-
Field Summary
FieldsFields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResolverForType(String type) Returns theURIResolvercorresponding to the given type.voidFinalize 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, serviceMethods 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:ExtensionPointFinalize 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:
initializeExtensionsin interfaceExtensionPoint<URIResolver>- Overrides:
initializeExtensionsin classAbstractThreadSafeComponentExtensionPoint<URIResolver>- Throws:
Exception- if something wrong occurs
-
getResolverForType
Returns theURIResolvercorresponding to the given type.- Parameters:
type- the type.- Returns:
- the
URIResolverornullif not found.
-