Class AbstractCommand
- java.lang.Object
-
- org.apache.felix.gogo.commands.basic.AbstractCommand
-
- All Implemented Interfaces:
CommandWithAction,org.apache.felix.service.command.Function
@Deprecated public abstract class AbstractCommand extends Object implements org.apache.felix.service.command.Function, CommandWithAction
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description AbstractCommand()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract ActioncreateNewAction()Deprecated.Objectexecute(org.apache.felix.service.command.CommandSession session, List<Object> arguments)Deprecated.Class<? extends Action>getActionClass()Deprecated.protected ActionPreparatorgetPreparator()Deprecated.voidreleaseAction(Action action)Deprecated.Release the used Action.
-
-
-
Method Detail
-
execute
public Object execute(org.apache.felix.service.command.CommandSession session, List<Object> arguments) throws Exception
Deprecated.- Specified by:
executein interfaceorg.apache.felix.service.command.Function- Throws:
Exception
-
getActionClass
public Class<? extends Action> getActionClass()
Deprecated.- Specified by:
getActionClassin interfaceCommandWithAction
-
createNewAction
public abstract Action createNewAction()
Deprecated.- Specified by:
createNewActionin interfaceCommandWithAction
-
releaseAction
public void releaseAction(Action action) throws Exception
Deprecated.Release the used Action. This method has to be overridden for pool based Actions.- Specified by:
releaseActionin interfaceCommandWithAction- Parameters:
action- Action that was executed- Throws:
Exception- if something went wrong during the Action release
-
getPreparator
protected ActionPreparator getPreparator() throws Exception
Deprecated.- Throws:
Exception
-
-