public class ManagedObjectHttpLogoutTask extends Object implements Task<HttpSecurityWork,Indexed,None>, TaskFactory<HttpSecurityWork,Indexed,None>
Task
and TaskFactory
to log out.Constructor and Description |
---|
ManagedObjectHttpLogoutTask() |
Modifier and Type | Method and Description |
---|---|
Task<HttpSecurityWork,Indexed,None> |
createTask(HttpSecurityWork work)
Creates the
Task . |
Object |
doTask(TaskContext<HttpSecurityWork,Indexed,None> context)
Does the task.
|
public Task<HttpSecurityWork,Indexed,None> createTask(HttpSecurityWork work)
TaskFactory
Task
.createTask
in interface TaskFactory<HttpSecurityWork,Indexed,None>
work
- Work
for the Task
.Task
to be done for the Work
.public Object doTask(TaskContext<HttpSecurityWork,Indexed,None> context) throws Throwable
Task
doTask
in interface Task<HttpSecurityWork,Indexed,None>
context
- TaskContext
for the Task
.Task
. This allows stringing
Task
instances together into a JobSequence
.Throwable
- Indicating failure of the Task
.Copyright © 2005–2016. All rights reserved.