{
throw new RuntimeException("Could not create loadbalancer policy instance for " + lbpClass
+ " while creating a proxy to remote proxyfactory", e);
}
// family wrapper (which contains the latest information of the cluster topology)
FamilyWrapper wrapper = clusteringInfo.getFamilyWrapper();
// the interfaces to be exposed by the proxy for the proxyfactory
Class<?>[] interfaces = this.getAllProxyFactoryInterfaces((Class<ProxyFactory>) proxyFactory.getClass());
// interceptors to the proxy
Interceptor[] interceptors =
{IsLocalProxyFactoryInterceptor.singleton, ClusterChooserInterceptor.singleton, InvokeRemoteInterceptor.singleton};