public static Space getSpace (String scheme, String name, String param) { Space sp = null; String uri = normalize (scheme, name, param); synchronized (SpaceFactory.class) { try { sp = (Space) NameRegistrar.get (uri); } catch (NameRegistrar.NotFoundException e) { if (SPACELET.equals (scheme) || "rspace".equals(scheme)) throw new SpaceError (uri + " not found."); sp = createSpace (scheme, name, param); NameRegistrar.register (uri, sp); } } if (sp == null) { throw new SpaceError ("Invalid space: " + uri); } return sp; } public static ScheduledThreadPoolExecutor getGCExecutor() {