org.mockejb.interceptor
Interface Aspect

All Superinterfaces:
Interceptor
All Known Implementing Classes:
BMPFinderHandler, CMPFindByPrimaryKeyHandler, EjbExceptionHandler

public interface Aspect
extends Interceptor

Aspect is the combination of an interceptor and pointcut. You want to implement Aspect interface when your interceptor can only handle the specific method/classes (jointpoints) and can't be used with any other pointcut. In case if Interceptor is truly universal (see, for example, InvocationRecorder) you can use the appropriate "add" method of the AspectSystem to combine the interceptor with any pointcut dynamically.

Author:
Alexander Ananiev

Method Summary
 Pointcut getPointcut()
           
 
Methods inherited from interface org.mockejb.interceptor.Interceptor
intercept
 

Method Detail

getPointcut

public Pointcut getPointcut()