Package org.ametys.cms.tag
Class AbstractTagProviderExtensionPoint<T extends Tag>
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<TagProvider<T>>
-
- org.ametys.cms.tag.AbstractTagProviderExtensionPoint<T>
-
- Type Parameters:
T
- The tag class
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<TagProvider<T>>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
- Direct Known Subclasses:
CategoryProviderExtensionPoint
,KeywordProviderExtensionPoint
,ProjectTagProviderExtensionPoint
,TagProviderExtensionPoint
,ThemeProviderExtensionPoint
public abstract class AbstractTagProviderExtensionPoint<T extends Tag> extends AbstractThreadSafeComponentExtensionPoint<TagProvider<T>>
This class is in charge to load and initialize tag providers.
-
-
Field Summary
-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description AbstractTagProviderExtensionPoint()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
getTag(String name, Map<String,Object> contextualParameters)
Get the tagabstract String
getTagsNodeName()
Get the tags node nameabstract String
getTagsNodeType()
Get the tag node type-
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
-
-
-
-
Constructor Detail
-
AbstractTagProviderExtensionPoint
public AbstractTagProviderExtensionPoint()
-
-
Method Detail
-
getTag
public T getTag(String name, Map<String,Object> contextualParameters)
Get the tag- Parameters:
name
- The tag's namecontextualParameters
- Contextual parameters- Returns:
- the tag or null if tag is not found
-
getTagsNodeName
public abstract String getTagsNodeName()
Get the tags node name- Returns:
- the tags node name
-
getTagsNodeType
public abstract String getTagsNodeType()
Get the tag node type- Returns:
- the tag node type
-
-