1 16 package org.jmanage.core.remote; 17 18 import java.io.Serializable ; 19 import java.lang.reflect.Method ; 20 21 26 public class RemoteInvocation implements Serializable { 27 28 private String className; 29 private String methodName; 30 private Class [] signature; 31 private Object [] args; 32 33 public RemoteInvocation(Method method, 34 Object [] args){ 35 this.className = method.getDeclaringClass().getName(); 36 this.methodName = method.getName(); 37 this.signature = method.getParameterTypes(); 38 this.args =args; 39 } 40 41 public String getClassName() { 42 return className; 43 } 44 45 public String getMethodName() { 46 return methodName; 47 } 48 49 public Class [] getSignature() { 50 return signature; 51 } 52 53 public Object [] getArgs() { 54 return args; 55 } 56 } 57 | Popular Tags |