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
,AccessControllerExtensionPoint
,ActionExtensionPoint
,AdditionalParameterFOSearchExtensionPoint
,AdditionalPropertyIndexerExtensionPoint
,AdministratorNotificatorExtensionPoint
,AdminSkinActionExtensionPoint
,AllowedUsersActionAdditionalOperationsExtensionPoint
,AmetysObjectFactoryExtensionPoint
,AnalysisExtensionPoint
,ApogeeExportExtensionPoint
,ApplicationGlyphManager
,ArchiverExtensionPoint
,AutomaticNewsletterExtensionPoint
,AzureADScopesExtensionPoint
,BackgroundEngineHookExtensionPoint
,BackOfficeRequestProxyExtensionPoint
,CatalogDataTypeExtensionPoint
,CategoryProviderExtensionPoint
,CategoryProviderExtensionPoint
,CDMfrExtensionPoint
,CDMFrSyncExtensionPoint
,ConfigParameterTypeExtensionPoint
,ContentAttributeTypeExtensionPoint
,ContentFilterExtensionPoint
,ContentImporterExtensionPoint
,ContentImporterExtensionPoint
,ContentInputDataExtensionPoint
,ContentTypeExtensionPoint
,ContentTypeReservedAttributeNameExtensionPoint
,ContentVisibleAttachmentIndexerExtensionPoint
,CopyCatalogUpdaterExtensionPoint
,CopyUpdaterExtensionPoint
,CreateSkinActionExtensionPoint
,CredentialProviderFactory
,CredentialProviderParameterTypeExtensionPoint
,DataSourceConsumerExtensionPoint
,DataSourceFactoryExtensionPoint
,DispatchProcessExtensionPoint
,DocbookEnhancementExtensionPoint
,DocbookUpdateHandlerExtensionPoint
,Document2ImagesConvertorPolicyExtensionPoint
,DocumentProviderExtensionPoint
,DynamicContentTypeDescriptorExtentionPoint
,DynamicInformationProviderExtensionPoint
,EnhancementHandlersExtensionPoint
,EqTDComputationModeExtensionPoint
,EventTypeExtensionPoint
,ExternalizableDataProviderExtensionPoint
,ExternalizableMetadataProviderExtensionPoint
,ExternalLogExtensionPoint
,FrontCacheableResourceExtensionPoint
,GDPRServicesExtensionPoint
,GetTokenExtensionPoint
,GroupDirectoryFactory
,GroupDirectoryParameterTypeExtensionPoint
,HelpExtensionPoint
,HTMLEditionHandlerExtensionPoint
,HTMLEnhancementExtensionPoint
,HTMLEnhancementExtensionPoint
,HTMLExpertToolbarExtensionPoint
,HTMLUpdateHandlerExtensionPoint
,ImportModelActionExtensionPoint
,ImportSkinActionExtensionPoint
,InitExtensionPoint
,InputDataExtensionPoint
,InputModulesExtensionPoint
,JdbcParameterTypeExtensionPoint
,JSASSResourceURIExtensionPoint
,KeywordProviderExtensionPoint
,LinkDataTypeExtensionPoint
,LivePopulatorExtensionPoint
,MBeanExtensionPoint
,MenuSkinActionExtensionPoint
,MessageTargetFactoriesManager
,MigrationExtensionPoint
,ModelAwareBasicTypesExtensionPoint
,ModelLessBasicTypesExtensionPoint
,MonitoringExtensionPoint
,NamespacesExtensionPoint
,NodeTypeDefinitionsExtensionPoint
,OaiSetExtensionPoint
,ObserverExtensionPoint
,OSEExportExtensionPoint
,PageDataTypeExtensionPoint
,PageElementCachePolicyExtensionPoint
,PageFilterExtensionPoint
,PageVisibleAttachmentIndexerExtensionPoint
,PipelineSerializerModelExtensionPoint
,PluginArchiverExtensionPoint
,PopulationConsumerExtensionPoint
,PostContentEditionFunctionsExtensionPoint
,PostContentValidationFunctionsExtensionPoint
,ProfileAssignmentStorageExtensionPoint
,ProjectDataTypeExtensionPoint
,ProjectTagProviderExtensionPoint
,QueryAdapterFOSearchExtensionPoint
,RelationsManager
,RemoteUrlExtensionPoint
,ReportExtensionPoint
,RepositoryViewExtensionPoint
,ResourceDependenciesListExtensionPoint
,ResourceHandlerProviderExtensionPoint
,ResourceMetadataPopulatorExtensionPoint
,ReturnableExtensionPoint
,RibbonControlsManager
,RibbonImportManager
,RibbonManager
,RibbonTabsManager
,RichTextConfigurationExtensionPoint
,RightAssignmentContextExtensionPoint
,RightContextConvertorExtensionPoint
,RightsExtensionPoint
,RunnableExtensionPoint
,SassFunctionsProviderExtensionPoint
,SchedulableExtensionPoint
,SchedulableParameterTypeExtensionPoint
,SchemaDefinitionProviderExtensionPoint
,ScriptBindingExtensionPoint
,SearchableExtensionPoint
,SearchComponentExtensionPoint
,SearchModuleExtensionPoint
,SearchUIModelExtensionPoint
,ServiceExtensionPoint
,ServiceParameterTypeExtensionPoint
,SiteConfigurationExtensionPoint
,SiteDocumentProviderExtensionPoint
,SiteGetterExtensionPoint
,SitemapConfigurationExtensionPoint
,SitemapDecoratorsExtensionPoint
,SitemapIconsExtensionPoint
,SiteParameterTypeExtensionPoint
,SitePluginArchiverExtensionPoint
,SiteTypesExtensionPoint
,SkinParameterTypeExtensionPoint
,SourceFactoriesExtensionPoint
,SQLDatabaseTypeExtensionPoint
,StaticFileImportsManager
,SupportedContextResourceUriExtensionPoint
,SurveyElementDataTypeExtensionPoint
,SynchronizeContentsCollectionModelExtensionPoint
,SynchronizingContentOperatorExtensionPoint
,SystemPropertyExtensionPoint
,TagProviderExtensionPoint
,TagTargetTypeExtensionPoint
,TaskAttributesTypeExtensionPoint
,TaskListAttributesTypeExtensionPoint
,ThemeProviderExtensionPoint
,TreeExtensionPoint
,UIToolsFactoriesManager
,UnversionedDataTypeExtensionPoint
,URIResolverExtensionPoint
,UserDirectoryFactory
,UserDirectoryParameterTypeExtensionPoint
,UserPreferencesExtensionPoint
,VersionHandlerExtensionPoint
,VersionStorageExtensionPoint
,ViewParameterTypeExtensionPoint
,WelcomeStepExtensionPoint
,WidgetsManager
,WorkflowDefinitionExtensionPoint
,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
-