org.nuxeo.ecm.webengine.loader
Class WebLoader
java.lang.Object
org.nuxeo.ecm.webengine.loader.WebLoader
public class WebLoader
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebLoader
public WebLoader(WebEngine engine)
getEngine
public WebEngine getEngine()
addClassPathElement
public void addClassPathElement(java.io.File container)
- Adds a class or resource container to the reloading class loader.
The container is either a jar or a directory.
getResource
public java.net.URL getResource(java.lang.String name)
loadClass
public java.lang.Class<?> loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getClassLoader
public ReloadingClassLoader getClassLoader()
getGroovyScripting
public GroovyScripting getGroovyScripting()
flushCache
public void flushCache()
getGroovyClassProxy
public ClassProxy getGroovyClassProxy(java.lang.String className)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getClassProxy
public ClassProxy getClassProxy(java.lang.String className)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getClassProxy
public ClassProxy getClassProxy(org.osgi.framework.Bundle bundle,
java.lang.String className)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getParentLoader
public static java.lang.ClassLoader getParentLoader()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.