private static void sendRegistrationMessage(Instantiator s) {
    InternalDistributedSystem system = InternalDistributedSystem.getAnyInstance();
    if (system != null) {
      RegistrationMessage m;
      if (s.getContext() == null) {
        m = new RegistrationMessage(s);
      } else {
        m = new RegistrationContextMessage(s);
      }
      system.getDistributionManager().putOutgoing(m);
    }
  }
If we are connected to a distributed system, send a message to other members telling them about
a newly-registered instantiator.
geode-core/src/main/java/org/apache/geode/internal/InternalInstantiator.java