org.norther.tammi.core.thread
Class DefaultDirectExecutor

java.lang.Object
  extended by org.norther.tammi.core.base.Adaptee
      extended by org.norther.tammi.core.thread.AbstractExecutor
          extended by org.norther.tammi.core.thread.DefaultDirectExecutor
All Implemented Interfaces:
Serializable, Executor, ExecutorService, NotificationBroadcaster, NotificationEmitter, Manageable, MBeanDelegate, Startable

public class DefaultDirectExecutor
extends AbstractExecutor

A direct executor running executables in the caller's thread.

Version:
$Id: DefaultDirectExecutor.java,v 1.6 2009/09/28 15:08:43 cvsimp Exp $
Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.norther.tammi.core.base.Adaptee
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS
 
Constructor Summary
DefaultDirectExecutor()
          Constructs a new executor.
 
Method Summary
protected  ExecutorService newExecutor()
          Creates the implementation of the executor.
 
Methods inherited from class org.norther.tammi.core.thread.AbstractExecutor
awaitTermination, execute, getActiveCount, getCompletedTaskCount, getExecutor, getTaskCount, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isStarted, isTerminated, postmanaged, shutdown, shutdownNow, start, stop, submit, submit, submit, unmanaged
 
Methods inherited from class org.norther.tammi.core.base.Adaptee
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDirectExecutor

public DefaultDirectExecutor()
Constructs a new executor.

Method Detail

newExecutor

protected ExecutorService newExecutor()
Description copied from class: AbstractExecutor
Creates the implementation of the executor.

Specified by:
newExecutor in class AbstractExecutor
Returns:
the executor implementation.


Copyright © 2004 The Norther Organization. All rights reserved.