public static void register(String key,ResourcePool pool){
  theInstances.put(key,pool);
}

public static void register ( String key , ResourcePool pool ) { theInstances . put ( key , pool ) ; }
registers a resource into the common resourcepool
