@XmlSimpleName(value="load-balancer") public class ServiceLoadBalancerProcessor extends Object implements ElementProcessor<ServiceLoadBalancerBuilder>
ElementProcessor
for <load-balancer> configuration used
by federated and proxy services.Modifier and Type | Field and Description |
---|---|
static String |
CLIENT
Client option for the service load balancer.
|
static String |
PROXY
Proxy option for the service load balancer.
|
static String |
PROXY_SCHEME
Proxy scheme.
|
Constructor and Description |
---|
ServiceLoadBalancerProcessor() |
Modifier and Type | Method and Description |
---|---|
ServiceLoadBalancerBuilder |
process(ProcessingContext context,
XmlElement xmlElement)
Process an
XmlElement to return a specific type of value. |
public static final String PROXY_SCHEME
public static final String PROXY
public static final String CLIENT
public ServiceLoadBalancerBuilder process(ProcessingContext context, XmlElement xmlElement) throws ConfigurationException
XmlElement
to return a specific type of value.process
in interface ElementProcessor<ServiceLoadBalancerBuilder>
context
- the ProcessingContext
in which the
XmlElement
is being processedxmlElement
- the XmlElement
to processConfigurationException
- when a configuration problem was encountered