|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockejb.interceptor.ClassPatternPointcut
public class ClassPatternPointcut
Tests if the class name of the provided method matches the regexp.
| Constructor Summary | |
|---|---|
ClassPatternPointcut(java.lang.String regexpPattern)
Creates a new instance of ClassPatternPoincut |
|
| Method Summary | |
|---|---|
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 the fully qualified class name of the given method |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassPatternPointcut(java.lang.String regexpPattern)
regexpPattern - regexp pattern that will be matched against the fully qualified class name| Method Detail |
|---|
public boolean matchesJointpoint(java.lang.reflect.Method method)
matchesJointpoint in interface Pointcutmethod - method being invoked
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||