org.jacorb.notification.engine
Class TaskExecutor

java.lang.Object
  extended byorg.jacorb.notification.engine.TaskExecutor
All Implemented Interfaces:
Disposable, EDU.oswego.cs.dl.util.concurrent.Executor

public class TaskExecutor
extends java.lang.Object
implements EDU.oswego.cs.dl.util.concurrent.Executor, Disposable

Version:
$Id: TaskExecutor.java,v 1.3 2004/05/06 12:39:59 nicolas Exp $
Author:
Alphonse Bendt

Constructor Summary
TaskExecutor(java.lang.String name, int numberOfThreads)
           
 
Method Summary
 void dispose()
          Dispose this Object.
 void execute(java.lang.Runnable r)
           
static TaskExecutor getDefaultExecutor()
           
 boolean isTaskQueued()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskExecutor

public TaskExecutor(java.lang.String name,
                    int numberOfThreads)
Method Detail

getDefaultExecutor

public static TaskExecutor getDefaultExecutor()

isTaskQueued

public boolean isTaskQueued()

dispose

public void dispose()
Description copied from interface: Disposable
Dispose this Object. Free all associated Ressources allocated by this Object. The Object may not be used after a call to dispose.

Specified by:
dispose in interface Disposable

execute

public void execute(java.lang.Runnable r)
             throws java.lang.InterruptedException
Specified by:
execute in interface EDU.oswego.cs.dl.util.concurrent.Executor
Throws:
java.lang.InterruptedException