public class TaskExecutionServiceTracker extends Object implements nl.lxtreme.ols.api.task.TaskExecutionService
TaskExecutionService
s.Constructor and Description |
---|
TaskExecutionServiceTracker(org.osgi.framework.BundleContext aContext)
Creates a new TaskExecutionServiceTracker instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this task execution service.
|
<RESULT_TYPE> |
execute(nl.lxtreme.ols.api.task.Task<RESULT_TYPE> aTask) |
void |
open()
Opens this task execution service for business.
|
public TaskExecutionServiceTracker(org.osgi.framework.BundleContext aContext)
aContext
- the bundle context to use, cannot be null
.public void close()
public <RESULT_TYPE> Future<RESULT_TYPE> execute(nl.lxtreme.ols.api.task.Task<RESULT_TYPE> aTask)
execute
in interface nl.lxtreme.ols.api.task.TaskExecutionService
public void open()
Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.