Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.loader
Class WebLoader

java.lang.Object
  extended by org.nuxeo.ecm.webengine.loader.WebLoader

public class WebLoader
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
WebLoader(WebEngine engine)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebLoader

public WebLoader(WebEngine engine)
Method Detail

getEngine

public WebEngine getEngine()

addClassPathElement

public void addClassPathElement(File container)
Adds a class or resource container to the reloading class loader. The container is either a jar or a directory.


getResource

public URL getResource(String name)

loadClass

public Class<?> loadClass(String name)
                   throws ClassNotFoundException
Throws:
ClassNotFoundException

getClassLoader

public ReloadingClassLoader getClassLoader()

getGroovyScripting

public GroovyScripting getGroovyScripting()

flushCache

public void flushCache()

getGroovyClassProxy

public ClassProxy getGroovyClassProxy(String className)
                               throws ClassNotFoundException
Throws:
ClassNotFoundException

getClassProxy

public ClassProxy getClassProxy(String className)
                         throws ClassNotFoundException
Throws:
ClassNotFoundException

getClassProxy

public ClassProxy getClassProxy(org.osgi.framework.Bundle bundle,
                                String className)
                         throws ClassNotFoundException
Throws:
ClassNotFoundException

getParentLoader

public static ClassLoader getParentLoader()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.