Package org.nuxeo.ecm.webengine.loader
Class WebLoader
java.lang.Object
org.nuxeo.ecm.webengine.loader.WebLoader
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ReloadingClassLoader
protected final WebEngine
protected final GroovyScripting
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addClassPathElement
(File container) Adds a class or resource container to the reloading class loader.void
getClassProxy
(String className) getClassProxy
(org.osgi.framework.Bundle bundle, String className) getGroovyClassProxy
(String className) static ClassLoader
getResource
(String name) Class<?>
-
Field Details
-
engine
-
classLoader
-
gScripting
-
-
Constructor Details
-
WebLoader
-
-
Method Details
-
getEngine
-
addClassPathElement
Adds a class or resource container to the reloading class loader. The container is either a jar or a directory. -
getResource
-
loadClass
- Throws:
ClassNotFoundException
-
getClassLoader
-
getGroovyScripting
-
flushCache
public void flushCache() -
getGroovyClassProxy
- Throws:
ClassNotFoundException
-
getClassProxy
- Throws:
ClassNotFoundException
-
getClassProxy
public ClassProxy getClassProxy(org.osgi.framework.Bundle bundle, String className) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
getParentLoader
-