8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
Returns
The algorithm name used to load balance the list of
hosts.
getLoadBalancerDescription
Signature
public String getLoadBalancerDescription();
Description
Gets the description of the load balancing
algorithm, which will be displayed in the admin
client.
Returns
Description of the load balancer.
useFileInfo
Signature
public boolean useFileInfo();
Description
Gets flag telling whether the load balancer uses file
information to decide on appropriate host.
Returns
True if fileinfo command should be fired before
rendering. False otherwise.
getAvailableHost
Signature
public QHostProxy
getAvailableHost(QHostProxy[] hosts,
QCommand command);
Description
Gets available host out of the provided list of hosts
to execute the specified command.
Parameters
hosts
List of hosts that should be scanned for the most
eligible host.
command
Command for which host is being searched.
Returns
Available host. Can be used for next request.
2.
2.
Make a jar for the load balancer.
3.
3.
Deploy the jar to the following folder:
3.
{Apache-Tomcat Home}\webapps\axis\WEB-INF\lib
4.
4.
Configure
4.
ManagerContainerConfig.xml for bean mapping.
1.
1.
Go to the folder
1.
{Apache-Tomcat Home}\webapps\axis\WEB-INF\classes.
2.
2.
Open the ManagerContainerConfig.xml file and look for the XML tag bean whose id has the
value ConfigurationManager
2.
.
3.
3.
Within that tag find the property name availableLoadBalancers
3.
.
4.
4.
In the <list> tag, add the following:
4.
<ref bean={your newbeanID}/>
Page 37