code: Object readResolve() throws ObjectStreamException {
          Bean<?> bean = Container.instance(contextId).services().get(ContextualStore.class).<Bean<Object>, Object>getContextual(beanId);
          if (bean == null) {
              throw BeanLogger.LOG.proxyDeserializationFailure(beanId);
          }
          return Container.instance(contextId).deploymentManager().getClientProxyProvider().getClientProxy(bean);
      }
docs: Always returns the original proxy object that was serialized.
  
  @return the proxy object
  @throws java.io.ObjectStreamException