| 1 17 18 package org.sape.carbon.core.component.proxy; 19 20 import java.io.Serializable ; 21 import java.lang.reflect.Method ; 22 23 33 public class Invocation implements Serializable { 34 35 protected Object target; 36 37 38 protected Method method; 39 40 41 protected Object [] methodArguments; 42 43 44 protected Class [] methodSignature; 45 46 47 protected boolean isTargetFunctionalImplementation; 48 49 62 public Invocation( 63 Object target, 64 Method method, 65 Object [] methodArguments, 66 Class [] methodSignature, 67 boolean isTargetFunctionalImplementation) { 68 69 this.target = target; 70 this.method = method; 71 this.methodArguments = methodArguments; 72 this.methodSignature = methodSignature; 73 this.isTargetFunctionalImplementation = 74 isTargetFunctionalImplementation; 75 } 76 77 82 public Object getTarget() { 83 return target; 84 } 85 86 91 public Method getMethod() { 92 return method; 93 } 94 95 100 public Object [] getMethodArguments() { 101 return methodArguments; 102 } 103 104 109 public Class [] getMethodSignature() { 110 return methodSignature; 111 } 112 113 120 public boolean isTargetFunctionalImplementation() { 121 return isTargetFunctionalImplementation; 122 } 123 } 124 | Popular Tags |