MBeanServer mbeanServer = super.getServer();
invokerWrapper = new HAInvokerWrapper(mbeanServer, realJmxInvokerName, invokerTarget);
mbeanServer.registerMBean(invokerWrapper, wrappedJmxInvokerName);
// Create the LoadBalancePolicy instance
LoadBalancePolicy policy = (LoadBalancePolicy) policyClass.newInstance();
// Finally, create the invoker proxy, a HttpInvokerProxyHA
String clusterFamilyName = partitionName + "/" + wrappedJmxInvokerName.toString();
Invoker delegateInvoker = new HttpInvokerProxyHA(invokerTarget.getReplicantList(), invokerTarget.getCurrentViewId (),
policy, clusterFamilyName);