Hi,

I'm currently enhancing a GUI-library with scripting-capabilities using 
AspectJ. Now I must control the instantiation-policy of the Aspect using the 
perthis()-clause. Currently I'm using this code:

public aspect ScriptingAspect perthis(this(XULComponent+) || 
this(ParametrizedRemoteCaller+)) {
    ...
}

This should instantiate a new ScriptingAspect-instance for each subclass of 
XULComponent or ParametrizedRemoteCaller. The compiler says it is ok, but I 
want to have this doublechecked by someone who knows more about AspectJ than I 
do. Will this clause work?

kind regards
Tobias
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to