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 void
execute(AdminCommandContext context)
Creates a new instance of LbConfigPublisherboolean
ping(ConnectionManager _connectionManager)
void
process()
void
publish(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:
execute
in 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:
IOException
com.sun.enterprise.config.ConfigException
org.netbeans.modules.schema2beans.Schema2BeansException
Exception
-
ping
public boolean ping(ConnectionManager _connectionManager) throws IOException
- Throws:
IOException
-
-