NamingExtensions::LoadBalancingFactory Interface Reference

The LoadBalancerFactory allows creation of load balancers. More...

import "NamingExtensions.idl";

List of all members.

Public Member Functions

LoadBalancer createLoadBalancer (in string name) raises (LoadBalancer::InvalidPolicy, LoadBalancer::InvalidPlugin)
 Create a LoadBalancer with the specified policy.


Detailed Description

The LoadBalancerFactory allows creation of load balancers.


Member Function Documentation

LoadBalancer NamingExtensions::LoadBalancingFactory::createLoadBalancer ( in string  name  )  raises (LoadBalancer::InvalidPolicy, LoadBalancer::InvalidPlugin)

Create a LoadBalancer with the specified policy.

Will add all known plugins to this LoadBalancer. This should be an instantiable Java class that implements the LoadBalancerPlugin interface.

string policy InvalidPlugin - if the plugin is invalid InvalidPolicy - if the policy is invalid.