public class JoinpointFullClassifier extends JoinpointClassifier
JoinpointClassification.PREPARED
as JoinpointClasification.WRAPPED and as
JoinpointClassification.DYNAMICALY_WRAPPED according
to the pointcuts registered in AspectManager.JoinpointClassifier,
JoinpointClassificationJoinpointClassifier.BindingCollectionAccessor, JoinpointClassifier.Matcher| Constructor and Description |
|---|
JoinpointFullClassifier() |
| Modifier and Type | Method and Description |
|---|---|
protected JoinpointClassification |
classifyJoinpoint(javassist.CtMember member,
Advisor advisor,
JoinpointClassifier.Matcher joinpointMatcher,
JoinpointClassifier.BindingCollectionAccessor bindingCollectionAccessor)
Classifies the execution of a joinpoint.
|
classifyConstructorExecution, classifyFieldGet, classifyFieldSet, classifyMethodExecutionprotected JoinpointClassification classifyJoinpoint(javassist.CtMember member, Advisor advisor, JoinpointClassifier.Matcher joinpointMatcher, JoinpointClassifier.BindingCollectionAccessor bindingCollectionAccessor) throws javassist.NotFoundException
matcher.
If the joinpoint is matched only with pointcuts not associated with bindings, then
the joinpoint is classified as JoinpointClassification.PREPARED. If it
is matched with one or more binding associated pointcuts, then it is classified
as JoinpointClassification.WRAPPED. If it is matched by only dynamicaly
added binding pointcuts, it is classified as
JoinpointClassification.DYNAMICALY_WRAPPED. On the other
hand, if it is not matched by any pointcut at all, the joinpoint is classified as
NOT_INSTRUMENTED.classifyJoinpoint in class JoinpointClassifiermember - 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.org.jboss.aop.instrument.JoinpointClassifier#classifyJoinpoint(javassist.CtMember, org.jboss.aop.Advisor, org.jboss.aop.instrument.JoinpointClassifier.Matcher)Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.