org.apache.cocoon.components
Class CocoonComponentManager.AbstractCocoonRunnable

java.lang.Object
  extended by 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


Constructor Summary
CocoonComponentManager.AbstractCocoonRunnable()
           
 
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
 

Constructor Detail

CocoonComponentManager.AbstractCocoonRunnable

public CocoonComponentManager.AbstractCocoonRunnable()
Method Detail

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.