|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mockejb.interceptor.PointcutPair
public class PointcutPair
Provides a way to create conditional expressions from pointcuts.
Method Summary | |
---|---|
static PointcutPair |
and(Pointcut pointcut1,
Pointcut pointcut2)
Creates a new instance of PointcutPair. |
boolean |
equals(java.lang.Object obj)
Returns true if the given object is of the same type and it has the same pattern. |
int |
hashCode()
|
boolean |
matchesJointpoint(java.lang.reflect.Method method)
Tests if both poincuts match |
static PointcutPair |
or(Pointcut pointcut1,
Pointcut pointcut2)
Creates a new instance of PointcutPair. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PointcutPair and(Pointcut pointcut1, Pointcut pointcut2)
pointcut1
- first pointcutpointcut2
- second pointcutpublic static PointcutPair or(Pointcut pointcut1, Pointcut pointcut2)
pointcut1
- first pointcutpointcut2
- second pointcutpublic boolean matchesJointpoint(java.lang.reflect.Method method)
matchesJointpoint
in interface Pointcut
method
- method being invoked
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |