i want to intercept the execution of the method
private static void startSend(OutputStream os,File file) throws IOException
so i made the following binding:
AdviceBinding binding = new AdviceBinding("execution(private static
void src.Client->startSend(java.io.OutputStream, java.io.File))", null);
binding.addInterceptor(ClientSendFileInterceptor.class);
AdviceBinding binding2 = new AdviceBinding("execution(private *
src.Client->startSend(java.io.OutputStream, java.io.File))", null);
AspectManager.instance().addBinding(binding);
but it won't work, is it possible that eclipse is corrupting things, i've added
the VM arguments, i can't see what i'm doing wrong, the interception just
doesn't happen...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974548#3974548
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974548
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user