| org.mockejb.interceptor.Pointcut
All known Subclasses: org.mockejb.interceptor.PointcutPair, org.mockejb.interceptor.ClassPointcut, org.mockejb.interceptor.ClassPatternPointcut, org.mockejb.interceptor.MethodPatternPointcut,
Pointcut | public interface Pointcut (Code) | | Represents the AOP "pointcut" abstraction.
Note that AspectSystem matches pointcuts only
against intercepted methods. For example, "find" method of an
Entity interface triggers the call to the ejbFind method of the
entity bean implementation class. Using pointcuts, you can only
match the "find" method and the business interface but not the target
method/object being called in response to the interface call.
author: Alexander Ananiev |
Method Summary | |
boolean | matchesJointpoint(Method method) Tests if the provided jointpoint represented by the intercepted object (object being called)
and the method matches this pointcut. |
matchesJointpoint | boolean matchesJointpoint(Method method)(Code) | | Tests if the provided jointpoint represented by the intercepted object (object being called)
and the method matches this pointcut. In other words, tests if the interceptor
associated with this pointcut needs to be applied to the provided jointpoint.
Parameters: method - method being invoked true if the target object or method match the condition specified inthis pointcut |
|
|