|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.aop.instrument.JoinpointClassifier
public abstract class JoinpointClassifier
This class performs the joinpoint classifications. It is responsible for classifying a joinpoint into:
JoinpointClassification
Nested Class Summary | |
---|---|
protected static interface |
JoinpointClassifier.BindingCollectionAccessor
|
protected static interface |
JoinpointClassifier.Matcher
This interface encapsulates a matching method. |
Constructor Summary | |
---|---|
JoinpointClassifier()
|
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JoinpointClassifier()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |