Package org.ametys.runtime.plugin
Interface ExtensionPoint<T>
- Type Parameters:
T
- the type of the managed extensions
- All Known Implementing Classes:
AbstractClientSideExtensionPoint
,AbstractComponentExtensionPoint
,AbstractExtensionPoint
,AbstractFunctionsExtensionPoint
,AbstractSelectorExtensionPoint
,AbstractTagProviderExtensionPoint
,AbstractThreadSafeComponentExtensionPoint
,AbstractThreadSafeComponentPrioritizableExtensionPoint
,AbstractThreadSafeComponentPrioritizableSupporterExtensionPoint
,AbstractThreadSafeComponentSupporterExtensionPoint
,AccessControllerExtensionPoint
,ActionExtensionPoint
,ActivityNotifierExtensionPoint
,ActivityTypeExtensionPoint
,AdditionalParameterFOSearchExtensionPoint
,AdditionalPropertyIndexerExtensionPoint
,AdministratorNotificatorExtensionPoint
,AdminSkinActionExtensionPoint
,AllowedUsersActionAdditionalOperationsExtensionPoint
,AmetysObjectFactoryExtensionPoint
,AnalysisExtensionPoint
,ApogeeExportExtensionPoint
,ApplicationGlyphManager
,ArchiverExtensionPoint
,AutomaticNewsletterExtensionPoint
,BackgroundEngineHookExtensionPoint
,BackOfficeRequestProxyExtensionPoint
,CaptchaExtensionPoint
,CatalogPageInitializerExtensionPoint
,CategoryProviderExtensionPoint
,CategoryProviderExtensionPoint
,CDMfrExtensionPoint
,CDMFrSyncExtensionPoint
,ChoiceSourceTypeExtensionPoint
,ComputingTypeExtensionPoint
,ContentFilterExtensionPoint
,ContentImporterExtensionPoint
,ContentImporterExtensionPoint
,ContentInputDataExtensionPoint
,ContentTypeExtensionPoint
,ContentTypeOverridesExtensionPoint
,ContentTypeReservedAttributeNameExtensionPoint
,ContentVisibleAttachmentIndexerExtensionPoint
,CopyCatalogUpdaterExtensionPoint
,CopyFormUpdaterExtensionPoint
,CopyODFContentUpdaterExtensionPoint
,CopyUpdaterExtensionPoint
,CreateSkinActionExtensionPoint
,CredentialProviderFactory
,DataSourceConsumerExtensionPoint
,DataSourceFactoryExtensionPoint
,DispatchProcessExtensionPoint
,DocbookEnhancementExtensionPoint
,DocbookUpdateHandlerExtensionPoint
,Document2ImagesConvertorPolicyExtensionPoint
,DocumentProviderExtensionPoint
,DynamicContentTypeDescriptorExtentionPoint
,DynamicInformationProviderExtensionPoint
,EnhancedConditionExtensionPoint
,EnhancedFunctionExtensionPoint
,EnhancementHandlersExtensionPoint
,EqTDComputationModeExtensionPoint
,ExternalizableDataProviderExtensionPoint
,ExternalLogExtensionPoint
,FormQuestionDataTypeExtensionPoint
,FormQuestionTypeExtensionPoint
,FrontCacheableResourceExtensionPoint
,GDPRComponentExtensionPoint
,GDPRServicesExtensionPoint
,GetTokenExtensionPoint
,GroupDirectoryFactory
,HelpExtensionPoint
,HTMLEditionHandlerExtensionPoint
,HTMLEnhancementExtensionPoint
,HTMLEnhancementExtensionPoint
,HTMLExpertToolbarExtensionPoint
,HTMLUpdateHandlerExtensionPoint
,ImportModelActionExtensionPoint
,ImportSkinActionExtensionPoint
,InitExtensionPoint
,InputDataExtensionPoint
,InputModulesExtensionPoint
,JSASSResourceURIExtensionPoint
,KeywordProviderExtensionPoint
,LivePopulatorExtensionPoint
,LiveWorkspaceExcludedPathExtensionPoint
,MBeanExtensionPoint
,MenuSkinActionExtensionPoint
,MessageTargetFactoriesManager
,MigrationExtensionPoint
,ModelItemTypeExtensionPoint
,ModelItemTypeExtensionPoint
,ModelItemTypeExtensionPoint
,ModelItemTypeExtensionPoint
,ModelItemTypeExtensionPoint
,ModelItemTypeExtensionPoint
,ModelItemTypeExtensionPoint
,ModelItemTypeExtensionPoint
,ModelItemTypeExtensionPoint
,ModelItemTypeExtensionPoint
,MonitoringExtensionPoint
,NamespacesExtensionPoint
,NodeTypeDefinitionsExtensionPoint
,OaiSetExtensionPoint
,OauthProviderExtensionPoint
,ObserverExtensionPoint
,OdfRefTableDataExtensionPoint
,ODFTreeIndicatorExtensionPoint
,OIDCScopesExtensionPoint
,OSEExportExtensionPoint
,PageElementCachePolicyExtensionPoint
,PageFilterExtensionPoint
,PageVisibleAttachmentIndexerExtensionPoint
,PipelineSerializerModelExtensionPoint
,PluginArchiverExtensionPoint
,PopulationConsumerExtensionPoint
,PostContentEditionFunctionsExtensionPoint
,PostContentValidationFunctionsExtensionPoint
,ProfileAssignmentStorageExtensionPoint
,ProgramTranslationUpdaterExtensionPoint
,ProjectTagProviderExtensionPoint
,QueryAdapterFOSearchExtensionPoint
,RelationsManager
,RemoteUrlExtensionPoint
,ReportExtensionPoint
,RepositoryViewExtensionPoint
,ResourceDependenciesListExtensionPoint
,ResourceHandlerProviderExtensionPoint
,ResourceMetadataPopulatorExtensionPoint
,ReturnableExtensionPoint
,RibbonControlsManager
,RibbonImportManager
,RibbonManager
,RibbonTabsManager
,RichTextConfigurationExtensionPoint
,RightAssignmentContextExtensionPoint
,RightContextConvertorExtensionPoint
,RightsExtensionPoint
,RunnableExtensionPoint
,SassFunctionsProviderExtensionPoint
,SchedulableExtensionPoint
,SchemaDefinitionProviderExtensionPoint
,ScriptBindingExtensionPoint
,SearchableExtensionPoint
,SearchComponentExtensionPoint
,SearchModuleExtensionPoint
,SearchUIModelExtensionPoint
,ServiceExtensionPoint
,SiteConfigurationExtensionPoint
,SiteDocumentProviderExtensionPoint
,SiteGetterExtensionPoint
,SitemapConfigurationExtensionPoint
,SitemapDecoratorsExtensionPoint
,SitemapIconsExtensionPoint
,SitePluginArchiverExtensionPoint
,SiteTypesExtensionPoint
,SourceFactoriesExtensionPoint
,SQLDatabaseTypeExtensionPoint
,StaticFileImportsManager
,StatisticsProviderExtensionPoint
,SupportedContextResourceUriExtensionPoint
,SynchronizeContentsCollectionModelExtensionPoint
,SynchronizingContentOperatorExtensionPoint
,SystemPropertyExtensionPoint
,TagProviderExtensionPoint
,TagTargetTypeExtensionPoint
,TargetToContextConvertorExtensionPoint
,ThemeProviderExtensionPoint
,TreeExtensionPoint
,UIToolsFactoriesManager
,URIResolverExtensionPoint
,UserDirectoryFactory
,UserPreferencesExtensionPoint
,VersionHandlerExtensionPoint
,VersionStorageExtensionPoint
,VirtualPageConfigurationExtensionPoint
,WebAnalyticsProviderExtensionPoint
,WelcomeStepExtensionPoint
,WidgetsManager
,WorkflowDefinitionExtensionPoint
,WorkflowFormMailExtensionPoint
,WorkspaceModuleExtensionPoint
,XHTMLSerializerExtensionPoint
public interface ExtensionPoint<T>
Superclass of all known extension points.
This class contains all required methods to build an extension point :
This class contains all required methods to build an extension point :
- configure(Configuration) to configure the extension point itself
- configureExtension(Configure) to add an extension to this point
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(String id, String pluginName, String featureName, Configuration configuration) Add an extension to this point.getExtension
(String id) Returns the named extensionReturns a Set containing the ids of all known extensionsboolean
hasExtension
(String id) Returns true if the named extension existsvoid
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.
-
Method Details
-
addExtension
void addExtension(String id, String pluginName, String featureName, Configuration configuration) throws ConfigurationException Add an extension to this point. Each implementation knows the meaning of the given configuration.- 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
-
initializeExtensions
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.- Throws:
Exception
- if something wrong occurs
-
hasExtension
Returns true if the named extension exists- Parameters:
id
- the unique id of the extension- Returns:
- true if the named extension exists
-
getExtension
Returns the named extension- Parameters:
id
- the unique id of the extension- Returns:
- the named extension
-
getExtensionsIds
Returns a Set containing the ids of all known extensions- Returns:
- a Set containing the ids of all known extensions
-