org.apache.cocoon.components
Class CocoonComponentManager.AbstractCocoonRunnable
java.lang.Object
org.apache.cocoon.components.CocoonComponentManager.AbstractCocoonRunnable
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- CocoonRunnable
- Enclosing class:
- CocoonComponentManager
public abstract static class CocoonComponentManager.AbstractCocoonRunnable
- extends Object
- implements Runnable
A runnable wrapper that inherits the environment stack of the thread it is
created in.
It's defined as an abstract class here to use some internals of EnvironmentHelper, and
should only be used through its public counterpart, CocoonRunnable
Method Summary |
protected abstract void |
doRun()
|
void |
run()
Calls doRun() within the environment context of the creating thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CocoonComponentManager.AbstractCocoonRunnable
public CocoonComponentManager.AbstractCocoonRunnable()
run
public final void run()
- Calls
doRun()
within the environment context of the creating thread.
- Specified by:
run
in interface Runnable
doRun
protected abstract void doRun()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.