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
FieldsModifier and TypeFieldDescriptionstatic final StringFake id provided by the config when no provider should be usedstatic final StringAvalon RoleFields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(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, serviceMethods 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:ExtensionPointAdd an extension to this point. Each implementation knows the meaning of the given configuration.- Specified by:
addExtensionin interfaceExtensionPoint<WebAnalyticsProvider>- Overrides:
addExtensionin 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
-