@Component(value="cuba_BackgroundWorker") public class WebBackgroundWorker extends java.lang.Object implements BackgroundWorker
BackgroundWorkerNAME| Constructor and Description |
|---|
WebBackgroundWorker() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkUIAccess() |
void |
destroy() |
UIAccessor |
getUIAccessor()
Obtain UI access for later use from background thread.
|
<T,V> BackgroundTaskHandler<V> |
handle(BackgroundTask<T,V> task)
Create handler for a background task.
|
void |
setConfiguration(Configuration configuration) |
@Inject public void setConfiguration(Configuration configuration)
@PreDestroy public void destroy()
public <T,V> BackgroundTaskHandler<V> handle(BackgroundTask<T,V> task)
BackgroundWorkerhandle in interface BackgroundWorkerT - progress measure unitV - task result typetask - background task instancepublic UIAccessor getUIAccessor()
BackgroundWorkergetUIAccessor in interface BackgroundWorkerpublic void checkUIAccess()
checkUIAccess in interface BackgroundWorker