com.sun.enterprise.config.serverbeans
Interface LoadBalancers

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

public interface LoadBalancers
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable


Nested Class Summary
static class LoadBalancers.Duck
           
 
Method Summary
 List<LoadBalancer> getLoadBalancer()
          Gets the value of the loadBalancer property.
 LoadBalancer getLoadBalancer(String name)
          Return the load balancer config with the given name, or null if no such load balancer exists.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 

Method Detail

getLoadBalancer

List<LoadBalancer> getLoadBalancer()
Gets the value of the loadBalancer property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the loadBalancer property.

For example, to add a new item, do as follows:

    getLoadBalancer().add(newItem);
 

Objects of the following type(s) are allowed in the list LoadBalancer


getLoadBalancer

@DuckTyped
LoadBalancer getLoadBalancer(String name)
Return the load balancer config with the given name, or null if no such load balancer exists.

Parameters:
name - the name of the lb config
Returns:
the LoadBalancer object, or null if no such lb config


Copyright © 2012 GlassFish Community. All Rights Reserved.