org.jboss.aspects.asynch
Class ThreadPoolExecutor

java.lang.Object
  extended by org.jboss.aspects.asynch.ThreadPoolExecutor
All Implemented Interfaces:
ExecutorAbstraction

public class ThreadPoolExecutor
extends Object
implements ExecutorAbstraction

Use a global thread pool to execute asynch tasks

Version:
$Revision: 1.3.2.3 $
Author:
Bill Burke

Constructor Summary
ThreadPoolExecutor()
           
 
Method Summary
 RemotableFuture execute(org.jboss.aop.joinpoint.MethodInvocation invocation)
           
 void setAdvisor(org.jboss.aop.Advisor advisor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPoolExecutor

public ThreadPoolExecutor()
Method Detail

setAdvisor

public void setAdvisor(org.jboss.aop.Advisor advisor)
Specified by:
setAdvisor in interface ExecutorAbstraction

execute

public RemotableFuture execute(org.jboss.aop.joinpoint.MethodInvocation invocation)
                        throws Exception
Specified by:
execute in interface ExecutorAbstraction
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.