public class SimpleTaskExecutor extends Object implements TaskExecutor
Constructor and Description |
---|
SimpleTaskExecutor(Debug debug,
TokenStorageAdapter adapter) |
Modifier and Type | Method and Description |
---|---|
void |
execute(String tokenId,
Task task)
The simple executor that executes a task.
|
protected void |
finalize() |
void |
start()
If the executor needs to do anything to start up it should be done here.
|
@Inject public SimpleTaskExecutor(@Named(value="tokenDataLayer") Debug debug, TokenStorageAdapter adapter)
public void start() throws DataLayerException
TaskExecutor
start
in interface TaskExecutor
DataLayerException
protected void finalize() throws Throwable
public void execute(String tokenId, Task task)
execute
in interface TaskExecutor
tokenId
- The token the task is in reference to. May be null in the case of query.task
- The task to be executed.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.