public abstract class AbstractCommand extends Object implements org.apache.felix.service.command.Function
| Constructor and Description |
|---|
AbstractCommand() |
| Modifier and Type | Method and Description |
|---|---|
abstract Action |
createNewAction() |
Object |
execute(org.apache.felix.service.command.CommandSession session,
List<Object> arguments) |
Class<? extends Action> |
getActionClass() |
protected ActionPreparator |
getPreparator() |
void |
releaseAction(Action action)
Release the used Action.
|
public Object execute(org.apache.felix.service.command.CommandSession session, List<Object> arguments) throws Exception
execute in interface org.apache.felix.service.command.FunctionExceptionpublic abstract Action createNewAction()
public void releaseAction(Action action) throws Exception
action - Action that was executedException - if something went wrong during the Action releaseprotected ActionPreparator getPreparator() throws Exception
ExceptionCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.