/** @see org.objectweb.proactive.core.descriptor.data.VirtualNodeInternal#activate() */ public void activate() { if (!isActivated) { if (isWaitingForProperties()) { return; } try { this.urlForLookup = URIBuilder.buildURI(this.lookupHost, this.name, this.lookupProtocol, this.portForLookup) .toString(); // this.remoteProActiveRuntime = RuntimeFactory.getRuntime(urlForLookup,lookupProtocol); // this.virtualNode = remoteProActiveRuntime.getVirtualNode(this.name); this.virtualNode = PADeployment.lookupVirtualNode(urlForLookup).getVirtualNodeInternal(); isActivated = true; } catch (ProActiveException e) { e.printStackTrace(); throw new ProActiveRuntimeException(e); } } else { vnLogger.debug("VirtualNode " + this.name + " already activated"); } }
// @Test public void oldDeploymentDescriptorParse() throws Exception { String descriptorLocation = getClass().getResource("javaproperty_ERROR.xml").getPath(); Object proActiveDescriptor = PADeployment.getProactiveDescriptor("file:" + descriptorLocation); }