@Deprecated public abstract class AbstractCommand extends Object implements 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.Function
Exception
public Class<? extends Action> getActionClass()
getActionClass
in interface CommandWithAction
public abstract Action createNewAction()
createNewAction
in interface CommandWithAction
public void releaseAction(Action action) throws Exception
releaseAction
in interface CommandWithAction
action
- Action that was executedException
- if something went wrong during the Action releaseprotected ActionPreparator getPreparator() throws Exception
Exception
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.