org.glassfish.loadbalancer.admin.cli
Class ApplyHttpLbChanges
java.lang.Object
org.glassfish.loadbalancer.admin.cli.ApplyHttpLbChanges
- All Implemented Interfaces:
- AdminCommand
@Service(name="apply-http-lb-changes")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class ApplyHttpLbChanges
- extends java.lang.Object
- implements AdminCommand
Class to publish the loadbalancer.xml to the physical loadbalancer.
- Author:
- Kshitiz Saxena
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplyHttpLbChanges
public ApplyHttpLbChanges()
execute
public void execute(AdminCommandContext context)
- Creates a new instance of LbConfigPublisher
- Specified by:
execute in interface AdminCommand
process
public void process()
throws java.lang.Exception
- Throws:
java.lang.Exception
publish
public void publish(ConnectionManager _connectionManager,
Domain domain,
java.lang.String lbConfigName)
throws java.io.IOException,
java.lang.Exception
- publishes the loadbalancer.xml to the physical loadbalancer.
- Throws:
java.io.IOException
com.sun.enterprise.config.ConfigException
org.netbeans.modules.schema2beans.Schema2BeansException
java.lang.Exception
ping
public boolean ping(ConnectionManager _connectionManager)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012 GlassFish Community. All Rights Reserved.