org.glassfish.loadbalancer.admin.cli
Class EnableHTTPLBApplicationCommand

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

@Service(name="enable-http-lb-application")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@TargetType(value={STANDALONE_INSTANCE,CLUSTER})
@ExecuteOn(value=DAS)
public final class EnableHTTPLBApplicationCommand
extends java.lang.Object
implements AdminCommand

This is a remote command that enables lb-enabled attribute of an application for cluster or instance

Author:
Yamini K B

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

Constructor Detail

EnableHTTPLBApplicationCommand

public EnableHTTPLBApplicationCommand()
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)
                           throws org.jvnet.hk2.config.TransactionFailure
Throws:
org.jvnet.hk2.config.TransactionFailure


Copyright © 2012 GlassFish Community. All Rights Reserved.