|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasAsyncTaskRef
Errai schedulers that accept a Runnable and produce an AsyncTask
will
inject the AsyncTask instance into the runnable if it implements this
interface.
ClientTaskManager
Method Summary | |
---|---|
AsyncTask |
getAsyncTask()
Returns the AsyncTask instance most recently set in setAsyncTask(AsyncTask) , or null if setAsyncTask() has not
been called yet. |
void |
setAsyncTask(AsyncTask task)
Called by Errai scheduler services when they receive this Runnable and before its run() method is called. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
void setAsyncTask(AsyncTask task)
task
- The companion AsyncTask instance that has been created for this
runnableAsyncTask getAsyncTask()
setAsyncTask(AsyncTask)
, or null if setAsyncTask()
has not
been called yet.
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |