Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webengine.loader
Class WebLoader

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

public class WebLoader
extends java.lang.Object

Author:
Bogdan Stefanescu

Constructor Summary
WebLoader(WebEngine engine)
           
 
Method Summary
 void addClassPathElement(java.io.File container)
          Adds a class or resource container to the reloading class loader.
 void flushCache()
           
 ReloadingClassLoader getClassLoader()
           
 ClassProxy getClassProxy(org.osgi.framework.Bundle bundle, java.lang.String className)
           
 ClassProxy getClassProxy(java.lang.String className)
           
 WebEngine getEngine()
           
 ClassProxy getGroovyClassProxy(java.lang.String className)
           
 GroovyScripting getGroovyScripting()
           
static java.lang.ClassLoader getParentLoader()
           
 java.net.URL getResource(java.lang.String name)
           
 java.lang.Class<?> loadClass(java.lang.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(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()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.