Package org.jpos.q2.cli.ssm
Class SsmActionBase
- java.lang.Object
-
- org.jpos.q2.cli.ssm.SsmActionBase
-
- All Implemented Interfaces:
CLICommand
public abstract class SsmActionBase extends java.lang.Object implements CLICommand
Provides base for most SSM based commands. The exec method wraps the processing for derived classes.
-
-
Constructor Summary
Constructors Constructor Description SsmActionBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract boolean
checkUsage(CLIContext cli, java.lang.String[] strings)
protected abstract void
doCommand(CLIContext cli, JCESecurityModule sm, short keyLength, java.lang.String[] strings)
void
exec(CLIContext cli, java.lang.String[] strings)
-
-
-
Constructor Detail
-
SsmActionBase
public SsmActionBase()
-
-
Method Detail
-
checkUsage
protected abstract boolean checkUsage(CLIContext cli, java.lang.String[] strings)
-
doCommand
protected abstract void doCommand(CLIContext cli, JCESecurityModule sm, short keyLength, java.lang.String[] strings) throws SMException
- Throws:
SMException
-
exec
public void exec(CLIContext cli, java.lang.String[] strings) throws java.lang.Exception
- Specified by:
exec
in interfaceCLICommand
- Throws:
java.lang.Exception
-
-