1 27 package ch.ethz.jvmai; 28 29 import java.lang.reflect.Field ; 31 import java.lang.reflect.Method ; 32 import ch.ethz.jvmai.JoinPointHook; 33 import java.util.List ; 34 35 51 public interface JVMAspectInterface { 52 53 83 public void startup(String [] packagePrefixes, boolean openWorldAssumption); 84 85 88 public void teardown(); 89 90 103 public void setJoinPointHook(JoinPointHook hook); 104 105 119 public void setFieldAccessWatch(Field f, Object aopTag); 120 121 130 public void clearFieldAccessWatch(Field f); 131 132 146 public void setFieldModificationWatch(Field f, Object aopTag); 147 148 157 public void clearFieldModificationWatch(Field f); 158 159 173 public void setMethodEntryWatch(Method m, Object aopTag); 174 175 184 public void clearMethodEntryWatch(Method m); 185 186 200 public void setMethodExitWatch(Method m,Object aopTag); 201 202 211 public void clearMethodExitWatch(Method m); 212 213 228 public void setExceptionThrowWatch(Class cls, Object aopTag); 229 230 239 public void clearExceptionThrowWatch(Class cls); 240 241 256 public void setExceptionCatchWatch(Class cls, Object aopTag); 257 258 267 public void clearExceptionCatchWatch(Class cls); 268 269 270 282 public void suspendNotification(Thread thread); 283 284 294 public void resumeNotification(Thread thread); 295 296 299 public List getLoadedClasses(); 300 301 } 302 303 | Popular Tags |