public class WebLoader extends Object
Modifier and Type | Method and Description |
---|---|
void |
addClassPathElement(File container)
Adds a class or resource container to the reloading class loader.
|
void |
flushCache() |
ReloadingClassLoader |
getClassLoader() |
ClassProxy |
getClassProxy(org.osgi.framework.Bundle bundle,
String className) |
ClassProxy |
getClassProxy(String className) |
WebEngine |
getEngine() |
ClassProxy |
getGroovyClassProxy(String className) |
GroovyScripting |
getGroovyScripting() |
static ClassLoader |
getParentLoader() |
URL |
getResource(String name) |
Class<?> |
loadClass(String name) |
public WebLoader(WebEngine engine)
public WebEngine getEngine()
public void addClassPathElement(File container)
public Class<?> loadClass(String name) throws ClassNotFoundException
ClassNotFoundException
public ReloadingClassLoader getClassLoader()
public GroovyScripting getGroovyScripting()
public void flushCache()
public ClassProxy getGroovyClassProxy(String className) throws ClassNotFoundException
ClassNotFoundException
public ClassProxy getClassProxy(String className) throws ClassNotFoundException
ClassNotFoundException
public ClassProxy getClassProxy(org.osgi.framework.Bundle bundle, String className) throws ClassNotFoundException
ClassNotFoundException
public static ClassLoader getParentLoader()
Copyright © 2013 Nuxeo SA. All Rights Reserved.