[jboss-user] [JBoss AOP] - Re: Aspect concept in JBoss AOP
kabir.khan@jboss.com
do-not-reply at jboss.com
Tue Jan 2 13:07:33 EST 2007
An aspect is a class containing one or more advice methods, which must have the signature
public Object <any-name>(Invocation inv) throws Throwable
The invocation argument must be of type org.jboss.aop.joinpoint.Invocation, or one of its subclasses.
An interceptor is a special type of aspect, and implements the org.jboss.aop.advice.Interceptor interface, which effectively forces you to create an aspect with one advice method.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997314#3997314
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997314
More information about the jboss-user
mailing list