| java.lang.Object examples.callback.Callback
Callback | public class Callback (Code) | | Callback call from an async aspect
Run with VM options:
-javaagent:lib\aspectwerkz-core-2.0beta1.jar
-Daspectwerkz.definition.file=src\jdk15\samples\examples\callback\aop.xml
And optianally:
-Daspectwerkz.transform.verbose=true
Note: you can avoid use of -D...file=...aop.xml if you have the aop.xml in a META-INF folder somewhere in the classpath.
author: Alexandre Vasseur |
Inner Class :public static class Callee | |
Inner Class :public static class AsyncAspect | |
Method Summary | |
public void | callback(String message) | public static void | main(String args) | public void | work() Triggers the time consuming operation on callee
Note that when used with "this(..) pcd, the caller method cannot be static else we won't match
since caller instance is not available.. |
callback | public void callback(String message)(Code) | | This method is a callback - could be looked up with a custom @ or etc
|
work | public void work()(Code) | | Triggers the time consuming operation on callee
Note that when used with "this(..) pcd, the caller method cannot be static else we won't match
since caller instance is not available..
|
|
|