IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.invoker.timer
Class InvokerTimerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by com.ibm.btt.invoker.timer.InvokerTimerTask
All Implemented Interfaces:
java.lang.Runnable

public class InvokerTimerTask
extends java.util.TimerTask

Invoker Timer Task is used to represent the asynchronized invocation tasks


Field Summary
protected  java.lang.Object bean
           
protected  boolean completed
           
protected  java.lang.Exception exception
           
protected  BTTLog log
           
protected  java.lang.reflect.Method method
           
protected  java.lang.Object[] params
           
protected  java.lang.Object result
           
protected  long start
           
protected  long timeout
           
 
Constructor Summary
InvokerTimerTask(java.lang.Object bean, java.lang.reflect.Method method, java.lang.Object[] params)
           
InvokerTimerTask(java.lang.Object bean, java.lang.reflect.Method method, java.lang.Object[] params, long timeout)
           
InvokerTimerTask(java.lang.Object bean, java.lang.reflect.Method method, java.lang.Object[] params, long timeout, CallBackPoint cb)
           
 
Method Summary
 java.lang.Exception getException()
           
 java.lang.Object getResult()
           
 boolean isComplete()
           
 boolean isExpired()
           
 void run()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bean

protected java.lang.Object bean

method

protected java.lang.reflect.Method method

params

protected java.lang.Object[] params

timeout

protected long timeout

result

protected java.lang.Object result

start

protected long start

completed

protected boolean completed

exception

protected java.lang.Exception exception

log

protected BTTLog log
Constructor Detail

InvokerTimerTask

public InvokerTimerTask(java.lang.Object bean,
                        java.lang.reflect.Method method,
                        java.lang.Object[] params)

InvokerTimerTask

public InvokerTimerTask(java.lang.Object bean,
                        java.lang.reflect.Method method,
                        java.lang.Object[] params,
                        long timeout)

InvokerTimerTask

public InvokerTimerTask(java.lang.Object bean,
                        java.lang.reflect.Method method,
                        java.lang.Object[] params,
                        long timeout,
                        CallBackPoint cb)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask

getResult

public java.lang.Object getResult()

isExpired

public boolean isExpired()

isComplete

public boolean isComplete()

getException

public java.lang.Exception getException()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009