FileDocCategorySizeDatePackage
StandardAliasesIniter.javaAPI DocGlassfish v2 API3006Fri May 04 22:24:52 BST 2007com.sun.cli.jmx.support

StandardAliasesIniter

public final class StandardAliasesIniter extends Object

Fields Summary
Constructors Summary
private StandardAliasesIniter()

		// don't allow instantiation
	
Methods Summary
public static voidinit(AliasMgrMBean aliasMgr)

		try
		{
			initAlias( aliasMgr, StandardAliases.ALL_ALIAS, CLISupportStrings.ALL_TARGET );
			initAlias( aliasMgr, StandardAliases.CLI_ALIAS, CLISupportStrings.CLI_SUPPORT_TARGET );
			initAlias( aliasMgr, StandardAliases.ALIAS_MGR_ALIAS, CLISupportStrings.ALIAS_MGR_TARGET );
		}
		catch( Exception e )
		{
			// ignore
			e.printStackTrace();
		}
	
private static voidinitAlias(AliasMgrMBean aliasMgr, java.lang.String name, java.lang.String value)

		aliasMgr.deleteAlias( name );
		aliasMgr.createAlias( name, value );