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

DeleteAliasCmd

public class DeleteAliasCmd extends JMXCmd

Fields Summary
Constructors Summary
public DeleteAliasCmd(CmdEnv env)

		super( env );
	
Methods Summary
voidexecuteInternal()

		final String [] aliases	= getOperands();
		
		for( int i = 0; i < aliases.length; ++i )
		{
			final String	name	= aliases[ i ];
			getAliasMgr().deleteAlias(  name );
			
			println( "deleted alias: " + name );
		}
	
public static java.lang.String[]getNames()

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

		return( CmdStrings.DELETE_ALIAS_HELP.toString() );