Package org.exoplatform.portal.module
Class ModuleRegistry
java.lang.Object
org.exoplatform.portal.module.ModuleRegistry
- All Implemented Interfaces:
org.picocontainer.Startable
Main registry to store and manage eXo Platform modules. Modules can be
registered and also activated.
Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com Jun 24, 2010
Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com Jun 24, 2010
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModule(ModulePlugin modulePlugin) Add a module by plugin injectiongetDisplayName(String portletName, Locale locale) getModulesForPortlet(String portletId) getModulesForWebapp(String webappName) booleanisPortletActive(String portletId) voidstart()voidstop()
-
Constructor Details
-
ModuleRegistry
public ModuleRegistry(org.exoplatform.container.xml.InitParams initParams)
-
-
Method Details
-
addModule
Add a module by plugin injection- Parameters:
modulePlugin- module component plugin
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
getDisplayName
-
getModulesForWebapp
- Parameters:
webappName- web archive application name- Returns:
- List of profiles/modules that activate a webapp
-
getModulesForPortlet
- Parameters:
portletId- with form : applicationName/portletName- Returns:
- List of profiles/modules that activate a portlet
-
isPortletActive
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-