code: public DistributedObject getOrCreateProxy(String name, boolean publishEvent) {
          DistributedObjectFuture proxyFuture = getOrCreateProxyFuture(name, publishEvent, true);
          return proxyFuture.get();
      }
docs: Retrieves a DistributedObject proxy or creates it if it is not available.
  DistributedObject will be initialized by calling {@link InitializingObject#initialize()},
  if it implements {@link InitializingObject}.
  
  @param name         The name of the DistributedObject proxy object to retrieve or create.
  @param publishEvent true if a DistributedObjectEvent should be fired.
  @return The DistributedObject instance.