{
InvokerLocator locator = new InvokerLocator(remotingUrl);
// Create a POJI Proxy to the Registrar
Interceptor[] interceptors =
{IsLocalProxyFactoryInterceptor.singleton, InvokeRemoteInterceptor.singleton};
PojiProxy handler = new PojiProxy(proxyFactoryKey, locator, interceptors);
// The proxy should me marked as implementing interface(s) of type ProxyFactory
// and the other sub-interfaces of ProxyFactory (whichever applicable for this specific
// proxyfactory). We need the specific sub-interfaces to ensure that the ObjectFactories
// can invoke the APIs on the sub-interfaces
Class<ProxyFactory>[] proxyFactoryInterfaces = this