public class Jdk14Executor extends Object implements Executor
Executor
reference implementation.Container
Constructor and Description |
---|
Jdk14Executor()
Standard implementation constructor
org.jdtaus.core.lang.ri.executor.Jdk14Executor . |
Jdk14Executor(String threadGroupName)
Creates a new
Jdk14Executor instance taking the name of the
thread group backing the instance. |
Modifier and Type | Method and Description |
---|---|
void |
addExceptionListener(org.jdtaus.core.lang.ExceptionListener listener) |
void |
executeAsynchronously(Runnable runnable) |
org.jdtaus.core.lang.ExceptionEvent[] |
getExceptionEvents() |
org.jdtaus.core.lang.ExceptionListener[] |
getExceptionListeners() |
void |
handle(Throwable t) |
void |
removeExceptionListener(org.jdtaus.core.lang.ExceptionListener listener) |
public Jdk14Executor()
org.jdtaus.core.lang.ri.executor.Jdk14Executor
.public Jdk14Executor(String threadGroupName)
Jdk14Executor
instance taking the name of the
thread group backing the instance.threadGroupName
- the name of the thread group backing the instance.public void addExceptionListener(org.jdtaus.core.lang.ExceptionListener listener)
addExceptionListener
in interface org.jdtaus.core.lang.ExceptionEventSource
public void removeExceptionListener(org.jdtaus.core.lang.ExceptionListener listener)
removeExceptionListener
in interface org.jdtaus.core.lang.ExceptionEventSource
public org.jdtaus.core.lang.ExceptionListener[] getExceptionListeners()
getExceptionListeners
in interface org.jdtaus.core.lang.ExceptionEventSource
public org.jdtaus.core.lang.ExceptionEvent[] getExceptionEvents()
getExceptionEvents
in interface ExceptionHandler
public void handle(Throwable t)
handle
in interface ExceptionHandler
public void executeAsynchronously(Runnable runnable)
executeAsynchronously
in interface Executor
Copyright © 2005-2012 jDTAUS. All Rights Reserved.