Class DisableHTTPLBApplicationCommand
- java.lang.Object
-
- org.glassfish.loadbalancer.admin.cli.DisableHTTPLBApplicationCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="disable-http-lb-application") @PerLookup @TargetType({STANDALONE_INSTANCE,CLUSTER}) @ExecuteOn(DAS) public final class DisableHTTPLBApplicationCommand extends Object implements AdminCommand
This is a remote command that disables lb-enabled attribute of an application for cluster or instance- Author:
- Yamini K B
-
-
Constructor Summary
Constructors Constructor Description DisableHTTPLBApplicationCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(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 valuesvoidupdateLbEnabledForApp(String appName, String target, String timeout)
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommandExecutes 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:
executein interfaceAdminCommand- Parameters:
context- information
-
updateLbEnabledForApp
public void updateLbEnabledForApp(String appName, String target, String timeout) throws TransactionFailure
- Throws:
TransactionFailure
-
-