public class WebLoader extends Object
Modifier and Type | Field and Description |
---|---|
protected ReloadingClassLoader |
classLoader |
protected WebEngine |
engine |
protected GroovyScripting |
gScripting |
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) |
protected final ReloadingClassLoader classLoader
protected final GroovyScripting gScripting
public void addClassPathElement(File container)
public URL getResource(String name)
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 © 2019 Nuxeo. All rights reserved.