|
Restlet Framework 2.2.1 Java Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
org.restlet.engine.util.EngineClassLoader
public class EngineClassLoader
Flexible engine class loader. Uses the current class's class loader as its
parent. Can also check with the user class loader defined by
Engine.getUserClassLoader()
or with
Thread.getContextClassLoader()
or with Class.forName(String)
.
Constructor Summary | |
---|---|
EngineClassLoader(Engine engine)
Constructor. |
Method Summary | |
---|---|
protected Class<?> |
findClass(String name)
|
protected URL |
findResource(String name)
|
protected Enumeration<URL> |
findResources(String name)
|
protected Engine |
getEngine()
Returns the parent Restlet engine. |
Enumeration<URL> |
getResources(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EngineClassLoader(Engine engine)
Method Detail |
---|
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class ClassLoader
ClassNotFoundException
protected URL findResource(String name)
findResource
in class ClassLoader
protected Enumeration<URL> findResources(String name) throws IOException
findResources
in class ClassLoader
IOException
protected Engine getEngine()
public Enumeration<URL> getResources(String name) throws IOException
getResources
in class ClassLoader
IOException
|
Restlet Framework 2.2.1 Java Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |