Package org.ametys.web.analytics
Class WebAnalyticsProviderExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<WebAnalyticsProvider>
org.ametys.web.analytics.WebAnalyticsProviderExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<WebAnalyticsProvider>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class WebAnalyticsProviderExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<WebAnalyticsProvider>
Extension point holding all
WebAnalyticsProvider
classes for needing features.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Fake id provided by the config when no provider should be usedstatic final String
Avalon RoleFields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(String id, String pluginName, String featureName, Configuration configuration) Add an extension to this point.Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, 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 -
NO_PROVIDER_ID
Fake id provided by the config when no provider should be used- See Also:
-
-
Constructor Details
-
WebAnalyticsProviderExtensionPoint
public WebAnalyticsProviderExtensionPoint()
-
-
Method Details
-
addExtension
public void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException Description copied from interface:ExtensionPoint
Add an extension to this point. Each implementation knows the meaning of the given configuration.- Specified by:
addExtension
in interfaceExtensionPoint<WebAnalyticsProvider>
- Overrides:
addExtension
in classAbstractThreadSafeComponentExtensionPoint<WebAnalyticsProvider>
- Parameters:
id
- the unique identifier of the extension.pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)configuration
- the information about the extension to be added- Throws:
ConfigurationException
- when a configuration problem occurs
-