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

ResolveAliasCmd

public class ResolveAliasCmd extends JMXCmd

Fields Summary
Constructors Summary
public ResolveAliasCmd(CmdEnv env)

		super( env );
	
Methods Summary
voidexecuteInternal()

		final String [] aliases	= getOperands();
		final String [] values	= new String[ aliases.length ];
		
		
		establishProxy();
		for( int i = 0; i < aliases.length; ++i )
		{
			final String	name	= aliases[ i ];
			values[ i ]		= getProxy().resolveAlias(  name );
			

			println( name + " = " + values[ i ]	 );
		}
	
public static java.lang.String[]getNames()

		return( new String [] { "resolve-alias", "ra" } );
	
public java.lang.StringgetUsage()

		return( CmdStrings.RESOLVE_ALIAS_HELP.toString() );