Class WorkspaceModuleExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<WorkspaceModule>
org.ametys.plugins.workspaces.project.modules.WorkspaceModuleExtensionPoint
- All Implemented Interfaces:
- LogEnabled,- ExtensionPoint<WorkspaceModule>,- Disposable,- Initializable,- Component,- Contextualizable,- Serviceable,- ThreadSafe
public class WorkspaceModuleExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<WorkspaceModule>
Extension point for Workspace Modules Managers
- 
Field SummaryFieldsFields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint_cocoonManager, _context, _manager
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a Set containing the ids of all known extensions<M extends WorkspaceModule>
 MGet a workspace modulegetModuleByName(String moduleName) Get a workspace module by its nameGet the list of available modulesvoidFinalize the initialization of the extensions.
 This method is called after alladdExtension()calls.
 This is the last step before the actual startup of the application.Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPointaddComponent, addExtension, contextualize, dispose, getExtension, hasExtension, initialize, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabledgetLogger, setLogger
- 
Field Details- 
ROLEAvalon Role
 
- 
- 
Constructor Details- 
WorkspaceModuleExtensionPointpublic WorkspaceModuleExtensionPoint()
 
- 
- 
Method Details- 
getModuleGet a workspace module- Type Parameters:
- M- The module type
- Parameters:
- moduleId- The id of the module
- Returns:
- The workspace module
 
- 
getModulesGet the list of available modules- Returns:
- The modules
 
- 
getModuleByNameGet a workspace module by its name- Parameters:
- moduleName- The module name
- Returns:
- The workspace module or null if not found
 
- 
initializeExtensionsDescription copied from interface:ExtensionPointFinalize the initialization of the extensions.
 This method is called after alladdExtension()calls.
 This is the last step before the actual startup of the application.- Specified by:
- initializeExtensionsin interface- ExtensionPoint<WorkspaceModule>
- Overrides:
- initializeExtensionsin class- AbstractThreadSafeComponentExtensionPoint<WorkspaceModule>
- Throws:
- Exception- if something wrong occurs
 
- 
getExtensionsIdsDescription copied from interface:ExtensionPointReturns a Set containing the ids of all known extensions- Specified by:
- getExtensionsIdsin interface- ExtensionPoint<WorkspaceModule>
- Overrides:
- getExtensionsIdsin class- AbstractThreadSafeComponentExtensionPoint<WorkspaceModule>
- Returns:
- a Set containing the ids of all known extensions
 
 
-