Class CreateHTTPLBRefCommand
- java.lang.Object
-
- org.glassfish.loadbalancer.admin.cli.LBCommandsBase
-
- org.glassfish.loadbalancer.admin.cli.CreateHTTPLBRefCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="create-http-lb-ref") @PerLookup @TargetType({STANDALONE_INSTANCE,CLUSTER}) @ExecuteOn(DAS) public final class CreateHTTPLBRefCommand extends LBCommandsBase implements AdminCommand
This is a remote command that supports the create-http-lb-ref CLI command. It creates a server-ref|cluster-ref, health-checker by using the given parameters. lbname: the name of the load-balancer element that exists config: the name of the lb-config element that exists target: cluster-ref or server-ref parameter of lb-config * healthcheckerurl: url attribute of health-checker healthcheckerinterval: interval-in-seconds parameter of health-checker healthcheckertimeout: timeout-in-seconds parameter of health-checker- Author:
- Yamini K B
-
-
Constructor Summary
Constructors Constructor Description CreateHTTPLBRefCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createLBRef(LbConfigs lbconfigs, String target, String configName)
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
-
-