This topic has not yet been written. The content below is from the topic description.
Behavior that you want to insert when a method is executed must be encapsulated in a implementation of the org.jboss.aop.advice.Interceptor interface. (For those of you familiar with AOP terms, an Interceptor in JBoss is an aspect with only one advice.) package org.jboss.aop.advice; import org.jboss.aop.joinpoint.Invocation; public interface Interceptor { public String getName(); public Object invoke(Invocation invocation) throws Throwable; } When an AOP'ed method is called, JBoss will break up the method into its parts: a java.lang.reflect.Method object and an Object[] array representing the arguments of the method. These parts are encapsulated in an org.jboss.aop.joinpoint.Invocation object. SimpleInterceptor.java is a simple implementation of an interceptor.