Class ApplyHttpLbChanges
- java.lang.Object
-
- org.glassfish.loadbalancer.admin.cli.ApplyHttpLbChanges
-
- All Implemented Interfaces:
AdminCommand
@Service(name="apply-http-lb-changes") @PerLookup public class ApplyHttpLbChanges extends Object implements AdminCommand
Class to publish the loadbalancer.xml to the physical loadbalancer.- Author:
- Kshitiz Saxena
-
-
Constructor Summary
Constructors Constructor Description ApplyHttpLbChanges()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(AdminCommandContext context)Creates a new instance of LbConfigPublisherbooleanping(ConnectionManager _connectionManager)voidprocess()voidpublish(ConnectionManager _connectionManager, Domain domain, String lbConfigName)publishes the loadbalancer.xml to the physical loadbalancer.
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Creates a new instance of LbConfigPublisher- Specified by:
executein interfaceAdminCommand- Parameters:
context- information
-
publish
public void publish(ConnectionManager _connectionManager, Domain domain, String lbConfigName) throws IOException, Exception
publishes the loadbalancer.xml to the physical loadbalancer.- Throws:
IOExceptioncom.sun.enterprise.config.ConfigExceptionorg.netbeans.modules.schema2beans.Schema2BeansExceptionException
-
ping
public boolean ping(ConnectionManager _connectionManager) throws IOException
- Throws:
IOException
-
-