|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.objectweb.jac.core.Pointcut
This abstract class is the definition of a pointcut in org.objectweb.jac.
AspectComponent,
MethodPointcut,
Serialized Form| Constructor Summary | |
Pointcut()
|
|
| Method Summary | |
abstract void |
applyTo(Wrappee wrappee,
ClassItem cl)
Applies this pointcut to the given wrappee. |
protected void |
parseExpr(String descr,
Wrappee wrappee,
ClassItem cl,
String expr,
String[] keywords,
Vector result,
Vector inv)
A generic method that parses a pointcut expression and stores the result within a vector. |
protected abstract String |
parseKeyword(Wrappee wrappee,
ClassItem cl,
String keywordExpr,
List parameters)
Parses a keyword expression and returns its actual value as a regular expression regarding the context. |
protected List |
replaceTags(List parameters,
ClassItem cli)
Replace elements of parameters " |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Pointcut()
| Method Detail |
public abstract void applyTo(Wrappee wrappee,
ClassItem cl)
wrappee - the component the current pointcut is applied to
protected abstract String parseKeyword(Wrappee wrappee,
ClassItem cl,
String keywordExpr,
List parameters)
protected List replaceTags(List parameters,
ClassItem cli)
parameters - Strings to replacecli - replace with members of this class
protected void parseExpr(String descr,
Wrappee wrappee,
ClassItem cl,
String expr,
String[] keywords,
Vector result,
Vector inv)
descr - a humain readable desciption of the pointcut
expression type (used to make logs clearer)expr - a pointcut expressionresult - the parsing resultinv - filled with Boolean, one per element in result
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||