org.mockejb.interceptor |
|
Java Source File Name | Type | Comment |
Aspect.java | Interface | 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. |
AspectException.java | Class | General-level exception used for various aspect/interceptor system exceptions. |
AspectSystem.java | Interface | Keeps the global list of aspects. |
AspectSystemFactory.java | Class | Loads the class implementing AspectSystem and returns the object of this class
to the client. |
AspectSystemImpl.java | Class | Provides the implementation of the AspectSystem by adding aspects to the
list and providing access to this list.
Note that all "add" method first check if the same aspect
is already in the list. |
ClassPatternPointcut.java | Class | Tests if the class name of the provided method matches the regexp. |
ClassPointcut.java | Class | Tests if the given class matches the class
provided to the constructor of ClassPointcut. |
InterceptableProxy.java | Class | Creates dynamic proxy and acts as an InvocationHandler for
this proxy. |
Interceptor.java | Interface | Interceptors intercept calls to an object to perform some actions, such as logging,
transaction management and so on. |
InterceptorContainerAspect.java | Class | This class provides a simple way to create an aspect
from the existing interceptor and pointcut. |
InterceptorInvoker.java | Class | Requests the interceptors from the AspectSystem and
initiates the call to the interceptor chain.
Allows to setup the custom context (properties) that is passed down to interceptors. |
InvocationContext.java | Class | Performs the invocation of interceptors in their order in the
interceptor list. |
InvocationRecorder.java | Class | Stores the information about all calls to the target object
in the list. |
MethodPatternPointcut.java | Class | Tests if the string representation of the given method
matches the regexp. |
Pointcut.java | Interface | Represents the AOP "pointcut" abstraction.
Note that AspectSystem matches pointcuts only
against intercepted methods. |
PointcutException.java | Class | Signifies exception in the pointcut, for example
errors in the provided regexp patterns. |
PointcutPair.java | Class | Provides a way to create conditional expressions from pointcuts. |
RegexpWrapper.java | Class | Helper class used to isolate pointcuts that use regexp from the
concrete regexp API. |