/** {@inheritDoc} */ @Override public void connect() throws IOException { URL url = getURL(); // Gets class loader UUID. GridUuid ldrId = GridUuid.fromString(url.getHost()); // Gets resource name. String name = url.getPath(); GridDeployment dep = mgr.getDeployment(ldrId); if (dep != null) { in = dep.classLoader().getParent().getResourceAsStream(name); // If resource exists connected = true; } }
GridUuid tid = !F.isEmpty(tidParam) ? GridUuid.fromString(tidParam) : null;