org.glassfish.loadbalancer.admin.cli
Class ListLBConfigsCommand

java.lang.Object
  extended by org.glassfish.loadbalancer.admin.cli.ListLBConfigsCommand
All Implemented Interfaces:
AdminCommand

@Service(name="list-http-lb-configs")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@CommandLock(value=NONE)
@ExecuteOn(value=DAS)
public final class ListLBConfigsCommand
extends java.lang.Object
implements AdminCommand

This is a remote commands to list lb configs (ported from v2) Interestingly, in this command, operand has multiple meanings - it can be a target (cluster or standalone instance) or a lb config name. And operand is optional! No operand : list all lb configs Operand is LB config: list all cluster-refs and server-refs for the LB config Operand is cluster : list lb configs referencing the cluster Operand is instance : list all configs referencing the server instance

Author:
Yamini K B

Constructor Summary
ListLBConfigsCommand()
           
 
Method Summary
 void execute(AdminCommandContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListLBConfigsCommand

public ListLBConfigsCommand()
Method Detail

execute

public void execute(AdminCommandContext context)
Specified by:
execute in interface AdminCommand


Copyright © 2012 GlassFish Community. All Rights Reserved.