public abstract class JoinpointClassifier extends Object
JoinpointClassification
Modifier and Type | Class and Description |
---|---|
protected static interface |
JoinpointClassifier.BindingCollectionAccessor |
protected static interface |
JoinpointClassifier.Matcher
This interface encapsulates a matching method.
|
Constructor and Description |
---|
JoinpointClassifier() |
Modifier and Type | Method and Description |
---|---|
JoinpointClassification |
classifyConstructorExecution(javassist.CtConstructor cons,
Advisor advisor)
Classifies the execution of
cons . |
JoinpointClassification |
classifyFieldGet(javassist.CtField field,
Advisor advisor)
Classifies the reading of
field value. |
JoinpointClassification |
classifyFieldSet(javassist.CtField field,
Advisor advisor)
Classifies the writing of
field value. |
protected abstract JoinpointClassification |
classifyJoinpoint(javassist.CtMember member,
Advisor advisor,
JoinpointClassifier.Matcher joinpointMatcher,
JoinpointClassifier.BindingCollectionAccessor bindingCollectionAccessor)
Classifies a joinpoint.
|
JoinpointClassification |
classifyMethodExecution(javassist.CtMethod method,
Advisor advisor)
Classifies the execution of
method . |
protected abstract JoinpointClassification classifyJoinpoint(javassist.CtMember member, Advisor advisor, JoinpointClassifier.Matcher joinpointMatcher, JoinpointClassifier.BindingCollectionAccessor bindingCollectionAccessor) throws javassist.NotFoundException
member
- the member associated with the joinpoint to be classified.advisor
- the advisor associated with member
declaring class.joinpointMatcher
- this matcher must be used to find out if a
pointcut matches the joinpoint.javassist.NotFoundException
- thrown if the matching of pointcuts fails.public JoinpointClassification classifyFieldGet(javassist.CtField field, Advisor advisor) throws javassist.NotFoundException
field
value.field
- the field whose reading joinpoint is being classified.advisor
- the advisor related to the class declaring field
.field
read.javassist.NotFoundException
- thrown if the matching of pointcuts fails.public JoinpointClassification classifyFieldSet(javassist.CtField field, Advisor advisor) throws javassist.NotFoundException
field
value.field
- the field whose writing joinpoint is being classified.advisor
- the advisor related to the class declaring field
.field
write.javassist.NotFoundException
- thrown if the matching of pointcuts fails.public JoinpointClassification classifyConstructorExecution(javassist.CtConstructor cons, Advisor advisor) throws javassist.NotFoundException
cons
.cons
- the constructor whose execution joinpoint is being classified.advisor
- the advisor related to the class declaring cons
.cons
execution.javassist.NotFoundException
- thrown if the matching of pointcuts fails.public JoinpointClassification classifyMethodExecution(javassist.CtMethod method, Advisor advisor) throws javassist.NotFoundException
method
.method
- the method whose execution joinpoint is being classified.advisor
- the advisor related to the class declaring method
.method
execution.javassist.NotFoundException
- thrown if the matching of pointcuts fails.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.