Task
Class NetworkTaskHandler<ReturnValueType>

java.lang.Object
  extended by Task.SimpleTaskHandler<ReturnValueType>
      extended by Task.NetworkTaskHandler<ReturnValueType>
All Implemented Interfaces:
NetworkTaskHandlerIF<ReturnValueType>, SimpleTaskHandlerIF<ReturnValueType>

public class NetworkTaskHandler<ReturnValueType>
extends SimpleTaskHandler<ReturnValueType>
implements NetworkTaskHandlerIF<ReturnValueType>

NetworkTaskHandler extends SimpleTaskHandler, and adds support for notOnline(AbstractTask).

Since:
Oct 5, 2007, 10:16:26 AM
Version:
1.0
Author:
Nazmul Idris

Constructor Summary
NetworkTaskHandler()
           
 
Method Summary
 void notOnline(AbstractTask task)
          this is called if the method is trying to run in the background and the container is not online.
 
Methods inherited from class Task.SimpleTaskHandler
beforeStart, cancelled, error, interrupted, ok, shutdownCalled, started, stopped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Task.SimpleTaskHandlerIF
beforeStart, cancelled, error, interrupted, ok, shutdownCalled, started, stopped
 

Constructor Detail

NetworkTaskHandler

public NetworkTaskHandler()
Method Detail

notOnline

public void notOnline(AbstractTask task)
this is called if the method is trying to run in the background and the container is not online.

Specified by:
notOnline in interface NetworkTaskHandlerIF<ReturnValueType>
Parameters:
task -


Copyright © 2011. All Rights Reserved.