org.glassfish.loadbalancer.admin.cli.reader.impl
Class ClusterReaderHelper

java.lang.Object
  extended by org.glassfish.loadbalancer.admin.cli.reader.impl.ClusterReaderHelper

public class ClusterReaderHelper
extends java.lang.Object

Impl class for ClusterReader. This provides loadbalancer data for a cluster.

Author:
Kshitiz Saxena

Constructor Summary
ClusterReaderHelper()
           
 
Method Summary
static WebModuleReader[] getWebModules(Domain domain, ApplicationRegistry appRegistry, java.util.List<ApplicationRef> refs, java.lang.String target)
          Returns the web module readers for a set of application refs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterReaderHelper

public ClusterReaderHelper()
Method Detail

getWebModules

public static WebModuleReader[] getWebModules(Domain domain,
                                              ApplicationRegistry appRegistry,
                                              java.util.List<ApplicationRef> refs,
                                              java.lang.String target)
Returns the web module readers for a set of application refs.

Parameters:
_configCtx - Current Config context
refs - Application ref(s) from cluster or stand alone instance
target - Name of the cluster or stand alone instance
Returns:
WebModuleReader[] Array of the corresponding web module reader(s).
Throws:
LbReaderException - In case of any error(s).


Copyright © 2012 GlassFish Community. All Rights Reserved.