@Deprecated public abstract class AbstractAction extends Object implements Action
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log
Deprecated.
|
protected org.apache.felix.service.command.CommandSession |
session
Deprecated.
|
| Constructor and Description |
|---|
AbstractAction()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkInterrupted()
Deprecated.
This is for long running commands to be interrupted by ctrl-c.
|
protected abstract Object |
doExecute()
Deprecated.
|
Object |
execute(org.apache.felix.service.command.CommandSession session)
Deprecated.
|
protected final org.slf4j.Logger log
protected org.apache.felix.service.command.CommandSession session
public Object execute(org.apache.felix.service.command.CommandSession session) throws Exception
public static void checkInterrupted()
throws InterruptedException
InterruptedException - If the action is interrupted.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.