1 23 24 package org.objectweb.clif.deploy; 25 26 27 import org.objectweb.clif.server.api.ClifServerControl; 28 import org.objectweb.clif.supervisor.api.ClifException; 29 import org.objectweb.fractal.api.Component; 30 31 32 36 public class BladeRemove extends Thread 37 { 38 protected Component clifApp; 39 protected ClifServerControl server; 40 41 42 47 public BladeRemove(Component clifApp, ClifServerControl server) 48 { 49 super("Blades removal on " + server); 50 this.clifApp = clifApp; 51 this.server = server; 52 } 53 54 55 58 public void run() 59 { 60 try 61 { 62 server.removeAllBlades(clifApp); 63 } 64 catch (ClifException ex) 65 { 66 ex.printStackTrace(System.err); 67 } 68 } 69 } 70 | Popular Tags |