View Javadoc

1   package net.sf.crispy.concurrent;
2   
3   import java.lang.reflect.Method;
4   
5   
6   public class MethodExecuteCallback implements ExecuteCallback {
7   
8   	public Object execute(Object pvObject, Method pvMethod, Object[] pvArgs) throws Exception {
9   		return pvMethod.invoke(pvObject, pvArgs);
10  	}
11  
12  }