Method Summary |
|
public void | clearConstructorWatch(Constructor m) Clears a watch on a constructor joinpoint.
Parameters: m - the constructor beeing watched. exception: NotInitializedException - Aspect-interface has not been initialized yet. |
public void | clearExceptionCatchWatch(Class cls) Clears a watch on a exception catch joinpoint.
Parameters: cls - Class of the watched exception. exception: NotInitializedException - Aspect-interface has not been initialized yet. |
public void | clearExceptionThrowWatch(Class cls) Clears a watch on a exception throw joinpoint.
Parameters: cls - Class of the watched exception. exception: NotInitializedException - Aspect-interface has not been initialized yet. |
public void | clearFieldAccessWatch(Field f) Clears a watch on a field access joinpoint.
Parameters: f - Field declaring the field beeing watched. exception: NotInitializedException - Aspect-interface has not been initialized yet. |
public void | clearFieldModificationWatch(Field f) Clears a watch on a field modification joinpoint.
Parameters: f - the field beeing watched, whose watch should be cleared exception: NotInitializedException - Aspect-interface has not been initialized yet. |
public void | clearMethodEntryWatch(Method m) Clears a watch on a method entry joinpoint.
Parameters: m - the method beeing watched. exception: NotInitializedException - Aspect-interface has not been initialized yet. |
public void | clearMethodExitWatch(Method m) Clears a watch on a method exit joinpoint.
Parameters: m - the method beeing watched. exception: NotInitializedException - Aspect-interface has not been initialized yet. |
public List | getLoadedClasses() Return a list of currently loaded clasess. |
public void | resumeNotification(Thread thread) Resumes notification regarding the specified thread.
Successive calls to resumeNotification
without preceding calls to suspendNotification
will be ignored.
Parameters: thread - Thread for which to reenable notification. exception: NotInitializedException - Aspect-interface has not been initialized yet. |
public void | setConstructorWatch(Constructor m, Object aopTag) Sets a watch on a constructor joinpoint.
Parameters: m - the constructor to be watched. Parameters: aopTag - A user-defined object saved with this watch.When the joinpoint is reached, this object ispassed to the JoinPointHook as part of theJoinPoint-instance. |
public void | setExceptionCatchWatch(Class cls, Object aopTag) Sets a watch on a exception catch joinpoint.
Parameters: cls - Class of the watched exception. |
public void | setExceptionThrowWatch(Class cls, Object aopTag) Sets a watch on a exception throw joinpoint.
Parameters: cls - Class of the watched exception. |
public void | setFieldAccessWatch(Field f, Object aopTag) Sets a watch on a field access joinpoint.
Parameters: f - the field to be watched. Parameters: aopTag - A user-defined object saved with this watch.When the joinpoint is reached, this object ispassed to the JoinPointHook as part of theJoinPoint-instance. |
public void | setFieldModificationWatch(Field f, Object aopTag) Sets a watch on a field modification joinpoint.
Parameters: f - the field to be watched. Parameters: aopTag - A user-defined object saved with this watch.When the joinpoint is reached, this object ispassed to the JoinPointHook as part of theJoinPoint-instance. |
public void | setJoinPointHook(JoinPointHook hook) Sets a JoinPointHook as listener for jvmai-events.
Whenever a watched joinpoint is reached or a class is
loaded into the virtual machine, this JoinPointHook
is notified by the aspect-interface. |
public void | setMethodEntryWatch(Method m, Object aopTag) Sets a watch on a method entry joinpoint.
Parameters: m - the method to be watched. Parameters: aopTag - A user-defined object saved with this watch.When the joinpoint is reached, this object ispassed to the JoinPointHook as part of theJoinPoint-instance. |
public void | setMethodExitWatch(Method m, Object aopTag) Sets a watch on a method exit joinpoint.
Parameters: m - the method to be watched. Parameters: aopTag - A user-defined object saved with this watch.When the joinpoint is reached, this object ispassed to the JoinPointHook as part of theJoinPoint-instance. |
public void | startup(String[] packagePrefixes, boolean openWorldAssumption) Initializes the underlying jvmai system.
In addition, this method takes a list of java
package-names and a boolean indicating how to
interpret this prefixes. |
public void | suspendNotification(Thread thread) Suspend notification regarding the specified thread.
Successive calls to suspendNotification
are idempotent. |
public void | teardown() Teardown the AOP support. |