|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.aop.impl.DefaultMethodJoinPoint
Default implementation of the method join point. The object stores two finder. The first, the class finder, looks up the class name. The second, looks up the method name.
Please note: This class does not perform any form of association itself. Instead both finder objects must implement some type of look-up search algorithm (for example a GLOB pattern matching). in order to locate the point cut in the current JVM process.
| Constructor Summary | |
DefaultMethodJoinPoint()
Constructor for Default method join point |
|
DefaultMethodJoinPoint(java.lang.String classExpr,
java.lang.String methodExpr)
Constructor that accepts expression arguments |
|
| Method Summary | |
void |
define(java.lang.String classExpr,
java.lang.String methodExpr)
A callback method designed for assembly factories to use that defines the method joinpoint after instantiating it dynamically. |
IClassFinder |
getClassFinder()
Returns the class finder associated with this method join point. |
IMethodFinder |
getMethodFinder()
Returns method class finder associated with this method join point. |
void |
setClassExpression(java.lang.String classExpr)
Sets the class expression for this method pointcut |
void |
setMethodExpression(java.lang.String methodExpr)
Sets the class expression for this method pointcut |
java.lang.String |
toString()
Prints the debuggable string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DefaultMethodJoinPoint()
public DefaultMethodJoinPoint(java.lang.String classExpr,
java.lang.String methodExpr)
classExpr - the global expression for matching a class.methodExpr - the global expression for matching a method.| Method Detail |
public IClassFinder getClassFinder()
getClassFinder in interface IMethodJoinPointIMethodJoinPoint.getClassFinder()public IMethodFinder getMethodFinder()
getMethodFinder in interface IMethodJoinPointIMethodJoinPoint.getMethodFinder()public void setClassExpression(java.lang.String classExpr)
classExpr - the class expressionpublic void setMethodExpression(java.lang.String methodExpr)
methodExpr - the class expression
public void define(java.lang.String classExpr,
java.lang.String methodExpr)
define in interface IMethodJoinPointclassExpr - the class finder expressionmethodExpr - the method finder expressionpublic java.lang.String toString()
Object.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||