1 16 17 package org.apache.commons.jexl.util; 18 19 20 import java.lang.reflect.InvocationTargetException ; 21 import java.lang.reflect.Method ; 22 23 import org.apache.commons.logging.Log; 24 25 35 public abstract class AbstractExecutor { 36 37 protected Log rlog = null; 38 39 42 protected Method method = null; 43 44 52 public abstract Object execute(Object o) 53 throws IllegalAccessException , InvocationTargetException ; 54 55 61 public boolean isAlive() { 62 return (method != null); 63 } 64 65 70 public Method getMethod() { 71 return method; 72 } 73 } 74 | Popular Tags |