org.glassfish.loadbalancer.admin.cli.helper
Class LbConfigHelper
java.lang.Object
org.glassfish.loadbalancer.admin.cli.helper.LbConfigHelper
public class LbConfigHelper
- extends java.lang.Object
Export support class
- Author:
- Kshitiz Saxena
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LbConfigHelper
public LbConfigHelper()
getLbReader
public static LoadbalancerReader getLbReader(Domain domain,
ApplicationRegistry appRegistry,
java.lang.String lbConfigName)
throws java.lang.Exception
- exports the loadbalancer.xml from the config to the outputstream provided
- Parameters:
ctx - ConfigContextlbConfigName - name of lb-configout - OutputStream into which the loadbalancer.xml is written
- Throws:
java.lang.Exception
getLoadBalancer
public static LoadBalancer getLoadBalancer(Domain domain,
java.lang.String lbName)
throws java.lang.Exception
- Throws:
java.lang.Exception
exportXml
public static void exportXml(LoadbalancerReader lbRdr,
java.io.OutputStream out)
throws java.lang.Exception
- exports the loadbalancer.xml from the config to the outputstream provided
- Parameters:
ctx - ConfigContextlbConfigName - name of lb-configout - OutputStream into which the loadbalancer.xml is written
- Throws:
java.lang.Exception
Copyright © 2012 GlassFish Community. All Rights Reserved.