public ResourceClientProxy(ResourceClientFactory factory, int resourceId) { this.proxyFactory = factory; this.remoteClient = factory.getRemoteClient(); this.resourceId = resourceId; init(); }