1 package org.apache.velocity.runtime.parser.node; 2 3 18 19 20 import java.lang.reflect.InvocationTargetException ; 21 import java.lang.reflect.Method ; 22 23 import org.apache.velocity.runtime.RuntimeLogger; 24 25 34 public abstract class AbstractExecutor 35 { 36 protected RuntimeLogger rlog = null; 37 38 41 protected Method method = null; 42 43 46 public abstract Object execute(Object o) 47 throws IllegalAccessException , InvocationTargetException ; 48 49 53 public boolean isAlive() 54 { 55 return (method != null); 56 } 57 58 public Method getMethod() 59 { 60 return method; 61 } 62 } 63 | Popular Tags |