1 31 package org.objectweb.proactive.core.mop; 32 33 import java.lang.reflect.InvocationTargetException ; 34 35 39 class FakeConstructorCall implements ConstructorCall, java.io.Serializable { 40 41 private Object target; 42 43 47 50 public FakeConstructorCall(Object target) { 51 this.target = target; 52 } 53 54 55 59 63 67 public void makeDeepCopyOfArguments() throws java.io.IOException { 68 } 69 70 71 74 public String getTargetClassName() { 75 return target.getClass().getName(); 76 } 77 78 79 84 public Object execute() throws InvocationTargetException , ConstructorCallExecutionFailedException { 85 return target; 86 } 87 } 88 89 | Popular Tags |