org.apache.cocoon.environment.internal
Class EnvironmentHelper.AbstractCocoonRunnable

java.lang.Object
  extended byorg.apache.cocoon.environment.internal.EnvironmentHelper.AbstractCocoonRunnable
All Implemented Interfaces:
Runnable
Enclosing class:
EnvironmentHelper

public abstract static class EnvironmentHelper.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, org.apache.cocoon.environment.CocoonRunnable.


Constructor Summary
EnvironmentHelper.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

EnvironmentHelper.AbstractCocoonRunnable

public EnvironmentHelper.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-2008 The Apache Software Foundation. All Rights Reserved.