Hi again,

Although I have other issues with jboss-aop, I'm trying to achieve other tests. 
I've precompiled some classes and all is right, but when I execute them there is
no effect with my interceptions. I got not result.

This is my test:

jboss-aop.xml:

<?xml version="1.0" encoding="UTF-8"?>

    
        
    


Interceptor implementation:

public class MethodAuthorizationInterceptor implements Interceptor {
    private static final Logger LOG = Logger.getLogger("es.test.aop");

    public String getName() {
        return getClass().getName();
    }

    public Object invoke(Invocation invocation) throws Throwable {
        MethodInvocation mInvocation = (MethodInvocation) invocation;
        String method = mInvocation.getMethod().getName();
        LOG.info("Interceptado el metodo - " + method);
        return invocation.invokeNext();
    }
}

When a class of es.test.support.commands is executed, I've nothing at log.
There's no error when I run aopc. Have I missed some system property?

My environment is:

Tomcat 5.0.24, J2SDK 1.4.2_04, JBossAOP-1.0beta3


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841103#3841103

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841103


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to