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