org.apache.mina.filter.executor
Class ExecutorExecutor

java.lang.Object
  extended byorg.apache.mina.filter.executor.ExecutorExecutor

public class ExecutorExecutor
extends Object

A backport-util-concurrent Executor which adapts Java 5 java.util.concurrent.Executor.

Version:
$Rev: 400068 $, $Date: 2006-05-05 12:56:58Z $
Author:
The Apache Directory Project (mina-dev@directory.apache.org)

Constructor Summary
ExecutorExecutor(java.util.concurrent.Executor executor)
          Creates a new instance with the specified executor.
 
Method Summary
 void execute(Runnable runnable)
           
 java.util.concurrent.Executor getExecutor()
          Returns the underlying executor this thread pool wraps.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutorExecutor

public ExecutorExecutor(java.util.concurrent.Executor executor)
Creates a new instance with the specified executor.

Method Detail

getExecutor

public java.util.concurrent.Executor getExecutor()
Returns the underlying executor this thread pool wraps.


execute

public void execute(Runnable runnable)