org.nuxeo.ecm.webengine.app.impl
Class ModuleRegistry
java.lang.Object
org.nuxeo.ecm.webengine.app.impl.ModuleRegistry
public class ModuleRegistry
- extends Object
An internal registry implementing the internal work of registering applications and extensions.
The registry is not thread safe and neither secure to concurrent modifications - synchronization is ensured by the application manager.
Modifying the registry is happening only at deploy and redeploy time.
At runtime only lookups are performed.
- Author:
- Bogdan Stefanescu
ModuleRegistry
public ModuleRegistry(WebEngine engine)
getModuleHandlers
public ModuleHandler[] getModuleHandlers()
getModuleHandlerFor
public ModuleHandler getModuleHandlerFor(Class<?> rootResource)
getModuleHandler
public ModuleHandler getModuleHandler(String appId)
addApplication
public void addApplication(BundledApplication app)
removeApplication
public BundledApplication removeApplication(BundledApplication app)
getContribution
public Object getContribution(Resource target,
String key)
throws Exception
- Throws:
Exception
getContribution
public ResourceContribution getContribution(Class<? extends ExtensibleResource> target,
String key)
throws Exception
- Throws:
Exception
getContributions
public List<ResourceContribution> getContributions(ExtensibleResource target,
String category)
getContributions
public List<ResourceContribution> getContributions(Class<? extends ExtensibleResource> target,
String category)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.