org.nuxeo.ecm.webengine.app.impl
Class ModuleRegistry
java.lang.Object
org.nuxeo.ecm.webengine.app.impl.ModuleRegistry
public class ModuleRegistry
- extends java.lang.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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleRegistry
public ModuleRegistry(WebEngine engine)
getModuleHandlers
public ModuleHandler[] getModuleHandlers()
getModuleHandlerFor
public ModuleHandler getModuleHandlerFor(java.lang.Class<?> rootResource)
getModuleHandler
public ModuleHandler getModuleHandler(java.lang.String appId)
addApplication
public void addApplication(BundledApplication app)
removeApplication
public BundledApplication removeApplication(BundledApplication app)
getContribution
public java.lang.Object getContribution(Resource target,
java.lang.String key)
throws java.lang.Exception
- Throws:
java.lang.Exception
getContribution
public ResourceContribution getContribution(java.lang.Class<? extends ExtensibleResource> target,
java.lang.String key)
throws java.lang.Exception
- Throws:
java.lang.Exception
getContributions
public java.util.List<ResourceContribution> getContributions(ExtensibleResource target,
java.lang.String category)
getContributions
public java.util.List<ResourceContribution> getContributions(java.lang.Class<? extends ExtensibleResource> target,
java.lang.String category)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.