org.glassfish.loadbalancer.admin.cli
Class DisableHTTPLBApplicationCommand

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

@Service(name="disable-http-lb-application")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@TargetType(value={STANDALONE_INSTANCE,CLUSTER})
@ExecuteOn(value=DAS)
public final class DisableHTTPLBApplicationCommand
extends java.lang.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
DisableHTTPLBApplicationCommand()
           
 
Method Summary
 void execute(AdminCommandContext context)
           
 void updateLbEnabledForApp(java.lang.String appName, java.lang.String target, java.lang.String timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisableHTTPLBApplicationCommand

public DisableHTTPLBApplicationCommand()
Method Detail

execute

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

updateLbEnabledForApp

public void updateLbEnabledForApp(java.lang.String appName,
                                  java.lang.String target,
                                  java.lang.String timeout)
                           throws org.jvnet.hk2.config.TransactionFailure
Throws:
org.jvnet.hk2.config.TransactionFailure


Copyright © 2012 GlassFish Community. All Rights Reserved.