This commit is contained in:
Lucio Lelii 2009-01-13 00:07:51 +00:00
parent bd7e408408
commit 78412724f5
2 changed files with 3 additions and 2 deletions

View File

@ -490,7 +490,8 @@ public class ModelerService {
throw new GCUBEUnrecoverableFault(e);
}
System.out.println("the scope is"+ServiceContext.getContext().getScope());
Thread deployVREThread= new Thread(new DeployVRE(resourceID));
DeployVRE deployVREThread= new DeployVRE(resourceID);
ServiceContext.getContext().setScope(deployVREThread, ServiceContext.getContext().getScope());
logger.trace("Deploy VRE thread started");
deployVREThread.start();

View File

@ -39,7 +39,7 @@ import org.w3c.dom.Document;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
public class DeployVRE implements Runnable{
public class DeployVRE extends Thread{
private static GCUBELog logger= new GCUBELog(DeployVRE.class);
private ISPublisher publisher;