public class WorkspaceModuleExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<WorkspaceModule>
Modifier and Type | Field and Description |
---|---|
static String |
ROLE
Avalon Role
|
_cocoonManager, _context, _manager
Constructor and Description |
---|
WorkspaceModuleExtensionPoint() |
Modifier and Type | Method and Description |
---|---|
<M extends WorkspaceModule> |
getModule(String moduleId)
Get a workspace module
|
WorkspaceModule |
getModuleByName(String moduleName)
Get a workspace module by its name
|
List<WorkspaceModule> |
getModules()
Get the list of available modules
|
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
getLogger, setLogger
public WorkspaceModuleExtensionPoint()
public <M extends WorkspaceModule> M getModule(String moduleId)
M
- The module typemoduleId
- The id of the modulepublic List<WorkspaceModule> getModules()
public WorkspaceModule getModuleByName(String moduleName)
moduleName
- The module name