LoadBalancer lb = config.getLoadBalancer();
if (lb == null) {
lb = new RoundRobinLB();
}
loadBalancer = lb;
connectionManager = new ClientConnectionManagerImpl(this, loadBalancer);
clusterService = new ClientClusterServiceImpl(this);
invocationService = new ClientInvocationServiceImpl(this);
userContext = new ConcurrentHashMap<String, Object>();
proxyManager.init(config);
partitionService = new ClientPartitionServiceImpl(this);