public class WebEngine extends Object implements ResourceLocator
Modifier and Type | Field and Description |
---|---|
static String |
SKIN_PATH_PREFIX_KEY |
Constructor and Description |
---|
WebEngine(File root) |
WebEngine(ResourceRegistry registry,
File root) |
public static final String SKIN_PATH_PREFIX_KEY
public WebEngine(File root)
public WebEngine(ResourceRegistry registry, File root)
public static WebContext getActiveContext()
public RequestConfiguration getRequestConfiguration()
public void loadJspTaglib(GenericServlet servlet)
public void initJspRequestSupport(GenericServlet servlet, HttpServletRequest request, HttpServletResponse response)
public WebLoader getWebLoader()
public void setSkinPathPrefix(String skinPathPrefix)
public String getSkinPathPrefix()
@Deprecated public ResourceRegistry getRegistry()
public Class<?> loadClass(String className) throws ClassNotFoundException
ClassNotFoundException
public GlobalTypes getGlobalTypes()
public AnnotationManager getAnnotationManager()
public final boolean isDevMode()
public String getDevMode()
public void setDevMode(String devModeId)
public void unregisterRenderingExtension(String id)
public Scripting getScripting()
public WebEngineModule[] getApplications()
public void addApplication(WebEngineModule app)
public ModuleManager getModuleManager()
public File getRootDirectory()
public File getDeploymentDirectory()
public File getModulesDirectory()
public ReloadManager getReloadManager()
public RenderingEngine getRendering()
public void addResourceBinding(ResourceBinding binding)
public void removeResourceBinding(ResourceBinding binding)
public ResourceBinding[] getBindings()
public void setDirty(boolean dirty)
public boolean tryReload()
public boolean isDirty()
public void flushCache()
public void reload()
public void reloadModules()
public void start()
public void stop()
public URL getResourceURL(String key)
ResourceLocator
getResourceURL
in interface ResourceLocator
key
- the resource keypublic File getResourceFile(String key)
ResourceLocator
getResourceFile
in interface ResourceLocator
Copyright © 2011 Nuxeo SA. All Rights Reserved.