org.restlet.engine.util
Class ContextualRunnable
java.lang.Object
org.restlet.engine.util.ContextualRunnable
- All Implemented Interfaces:
- Runnable
public abstract class ContextualRunnable
- extends Object
- implements Runnable
Runnable
That allows to define the context class loader.
- Author:
- Jerome Louvel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
run |
ContextualRunnable
public ContextualRunnable()
- Constructor.
getContextClassLoader
public ClassLoader getContextClassLoader()
- Returns the runnable's context class loader.
- Returns:
- The runnable's context class loader.
setContextClassLoader
public void setContextClassLoader(ClassLoader contextClassLoader)
- Sets the runnable's context class loader.
- Parameters:
contextClassLoader
- The runnable's context class loader.
Copyright © 2005-2014 Restlet.