public static void saveRegistrations(DataOutput out) throws IOException {
  for (  Instantiator inst : InternalInstantiator.getInstantiators()) {
    out.writeInt(inst.getId());
    DataSerializer.writeClass(inst.getClass(),out);
    DataSerializer.writeClass(inst.getInstantiatedClass(),out);
  }
  out.writeInt(0);
}

public static void saveRegistrations ( DataOutput out ) throws IOException { for ( Instantiator inst : InternalInstantiator . getInstantiators ( ) ) { out . writeInt ( inst . getId ( ) ) ; DataSerializer . writeClass ( inst . getClass ( ) , out ) ; DataSerializer . writeClass ( inst . getInstantiatedClass ( ) , out ) ; } out . writeInt ( 0 ) ; }
persist this class ' s map to out
