org.exoplatform.platform.common.module
Class ModuleRegistry
java.lang.Object
org.exoplatform.platform.common.module.ModuleRegistry
- All Implemented Interfaces:
- org.picocontainer.Startable
public class ModuleRegistry
- extends Object
- implements 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
|
Constructor Summary |
ModuleRegistry(org.exoplatform.container.xml.InitParams initParams)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_MODULES_PROFILE
public static final String ALL_MODULES_PROFILE
- See Also:
- Constant Field Values
ModuleRegistry
public ModuleRegistry(org.exoplatform.container.xml.InitParams initParams)
addModule
public void addModule(ModulePlugin modulePlugin)
- Add a module by plugin injection
start
public void start()
- Specified by:
start in interface org.picocontainer.Startable
getDisplayName
public String getDisplayName(String portletName,
Locale locale)
getModulesForWebapp
public Set<String> getModulesForWebapp(String webappName)
- Parameters:
webappName -
- Returns:
- List of profiles/modules that activate a webapp
getModulesForPortlet
public Set<String> getModulesForPortlet(String portletId)
- Parameters:
portletId -
- Returns:
- List of profiles/modules that activate a portlet
isPortletActive
public boolean isPortletActive(String portletId)
stop
public void stop()
- Specified by:
stop in interface org.picocontainer.Startable
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.