org.jboss.aspects.asynchronous.aspects
Class AsynchronousFacadeImpl

java.lang.Object
  extended by org.jboss.aspects.asynchronous.aspects.AsynchronousFacadeImpl
All Implemented Interfaces:
AsynchronousFacade, AsynchronousConstants

public class AsynchronousFacadeImpl
extends Object
implements AsynchronousFacade, AsynchronousConstants

Version:
$Revision: 1.2.4.4 $
Author:
{Claude Hussenet Independent Consultant}.

Field Summary
 
Fields inherited from interface org.jboss.aspects.asynchronous.AsynchronousConstants
CAN_NOT_PROCESS, EXCEPTIONCAUGHT, INTERRUPTED, INVOCATION, NOVALUE, OK, TIMEOUT, UNKNOWN
 
Constructor Summary
AsynchronousFacadeImpl()
           
 
Method Summary
 AsynchronousTask getAsynchronousTask()
           
 String getId()
           
 int getResponseCode()
           
 int getResponseCode(AsynchronousTask synchronousTask)
           
 Object getReturnValue()
           
 Object getReturnValue(AsynchronousTask asynchronousTask)
           
 ThreadManagerResponse getThreadManagerResponse()
           
 long getTimeout()
           
 boolean isDone()
           
 boolean isDone(AsynchronousTask synchronousTask)
           
 void setAsynchronousTask(AsynchronousTask asynchronousTask)
           
 void setId(String id)
           
 void setTimeout(long timeout)
           
 AsynchronousResponse waitForResponse()
           
 AsynchronousResponse waitForResponse(AsynchronousTask asynchronousTask)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsynchronousFacadeImpl

public AsynchronousFacadeImpl()
Method Detail

getAsynchronousTask

public AsynchronousTask getAsynchronousTask()
Specified by:
getAsynchronousTask in interface AsynchronousFacade

setTimeout

public void setTimeout(long timeout)
Specified by:
setTimeout in interface AsynchronousFacade

getTimeout

public long getTimeout()
Specified by:
getTimeout in interface AsynchronousFacade

setAsynchronousTask

public void setAsynchronousTask(AsynchronousTask asynchronousTask)
Specified by:
setAsynchronousTask in interface AsynchronousFacade

setId

public void setId(String id)
Specified by:
setId in interface AsynchronousFacade

getId

public String getId()
Specified by:
getId in interface AsynchronousFacade

getThreadManagerResponse

public ThreadManagerResponse getThreadManagerResponse()
Specified by:
getThreadManagerResponse in interface AsynchronousFacade

waitForResponse

public AsynchronousResponse waitForResponse()
Specified by:
waitForResponse in interface AsynchronousFacade

getReturnValue

public Object getReturnValue()
Specified by:
getReturnValue in interface AsynchronousFacade

isDone

public boolean isDone()
Specified by:
isDone in interface AsynchronousFacade

getResponseCode

public int getResponseCode()
Specified by:
getResponseCode in interface AsynchronousFacade

waitForResponse

public AsynchronousResponse waitForResponse(AsynchronousTask asynchronousTask)
Specified by:
waitForResponse in interface AsynchronousFacade

getReturnValue

public Object getReturnValue(AsynchronousTask asynchronousTask)
Specified by:
getReturnValue in interface AsynchronousFacade

isDone

public boolean isDone(AsynchronousTask synchronousTask)
Specified by:
isDone in interface AsynchronousFacade

getResponseCode

public int getResponseCode(AsynchronousTask synchronousTask)
Specified by:
getResponseCode in interface AsynchronousFacade


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