Package org.aopalliance.intercept
This package provides a set of interfaces for interception mechanisms.
Interception is a basic mechanism to implement AOP. This is widely used in middlewares and modern application servers, including J2EE ones.
This package provides an Interceptor
interface that will
intercept different runtime joinpoints (e.g. method calls, field
access, ...). Thus, interceptors are able to add some behavior
around the joinpoints actual executions. Several interceptors can
be applied on a given joinpoint since they are chained. The AO
system implementor should provide means to install and order these
chains of interceptors.
-
Interface Summary Interface Description ConstructorInterceptor Intercepts the construction of a new object.ConstructorInvocation Description of an invocation to a constuctor, given to an interceptor upon construtor-call.FieldAccess This interface represents a field access in the program.FieldInterceptor Intercepts field access on a target object.Interceptor This interface represents a generic interceptor.Invocation This interface represents an invocation in the program.Joinpoint This interface represents a generic runtime joinpoint (in the AOP terminology).MethodInterceptor Intercepts calls on an interface on its way to the target.MethodInvocation Description of an invocation to a method, given to an interceptor upon method-call.