FileDocCategorySizeDatePackage
CmdRunnerImpl.javaAPI DocGlassfish v2 API2615Fri May 04 22:24:50 BST 2007com.sun.cli.jmx.cmd

CmdRunnerImpl

public class CmdRunnerImpl extends Object implements CmdRunner

Fields Summary
final CmdEnv
mCmdEnv
final CmdFactory
mFactory
Constructors Summary
public CmdRunnerImpl(CmdFactory factory, CmdEnv env)

		mCmdEnv		= env;
		mFactory	= factory;
	
Methods Summary
public voidexecute(java.lang.String cmdName, java.lang.String[] tokens)

		mCmdEnv.put( CmdBase.ENV_TOKENS, tokens, false);
		
		
		final Cmd	cmd	= mFactory.createCmd( cmdName, mCmdEnv );
			
		cmd.execute();