public static String registerKind(Class<?> type,String kind){
  return KINDS.put(type.getCanonicalName(),kind);
}

public static String registerKind ( Class < ? > type , String kind ) { return KINDS . put ( type . getCanonicalName ( ) , kind ) ; }
registers mapping between a type and document kind string the runtime will use for all services with that state type
