Class ListLBConfigsCommand
- java.lang.Object
-
- org.glassfish.loadbalancer.admin.cli.ListLBConfigsCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="list-http-lb-configs") @PerLookup @CommandLock(NONE) @ExecuteOn(DAS) public final class ListLBConfigsCommand extends 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
Constructors Constructor Description ListLBConfigsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommand
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
-