org.japura.task
Class CallableWrapper<V>

java.lang.Object
  extended by org.japura.task.Task<V>
      extended by org.japura.task.CallableWrapper<V>
All Implemented Interfaces:
java.lang.Runnable

public class CallableWrapper<V>
extends Task<V>

Copyright (C) 2011-2012 Carlos Eduardo Leite de Andrade

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/

For more information, contact: www.japura.org

Author:
Carlos Eduardo Leite de Andrade

Constructor Summary
CallableWrapper(java.util.concurrent.Callable<V> callable)
           
 
Method Summary
 void doInBackground()
           
 
Methods inherited from class org.japura.task.Task
addNestedTask, cancel, canceled, done, equals, getBackgroundTimeSpent, getException, getId, getMessage, getName, getNestedTasks, getResult, getRootModel, getSession, getSession, handleException, hashCode, isCanceled, isExecuted, isSubmitted, isWaitForEDT, retry, rootModelTo, run, setException, setMessage, setName, setResult, setRootModel, setSession, setWaitForEDT, submit, submitted, toString, willExecute
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallableWrapper

public CallableWrapper(java.util.concurrent.Callable<V> callable)
Method Detail

doInBackground

public final void doInBackground()
                          throws java.lang.Exception
Overrides:
doInBackground in class Task<V>
Throws:
java.lang.Exception