com.mooapi.server.util
Class ExistingThreadExecutor

java.lang.Object
  extended by com.mooapi.server.util.ExistingThreadExecutor
All Implemented Interfaces:
java.util.concurrent.Executor

public class ExistingThreadExecutor
extends java.lang.Object
implements java.util.concurrent.Executor

This executor executes a command in the caller's thread.

Author:
Steve Taylor

Constructor Summary
ExistingThreadExecutor()
           
 
Method Summary
 void execute(java.lang.Runnable command)
          Execute the command in the caller's thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExistingThreadExecutor

public ExistingThreadExecutor()
Method Detail

execute

public void execute(java.lang.Runnable command)
Execute the command in the caller's thread.

Specified by:
execute in interface java.util.concurrent.Executor
Parameters:
command -


Copyright © 2009. All Rights Reserved.