1 31 package org.objectweb.proactive.examples.binarytree; 32 33 public class ActiveBinaryTree extends BinaryTree { 34 35 54 55 protected void createChildren() { 56 try { 57 String s = this.getClass().getName(); 58 this.leftTree = (BinaryTree)org.objectweb.proactive.ProActive.newActive(s, null); 59 this.rightTree = (BinaryTree)org.objectweb.proactive.ProActive.newActive(s, null); 60 } catch (Exception e) { 61 logger.error(e); 62 } 63 } 64 } 65 | Popular Tags |