|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicAOPStrategy
Strategy for dealing with dynamic aop related operations. Decides what must be done when a dynamic operation changes an interceptor chain. For dynamic operation we mean the addition or removal of:
org.jboss.aop.advice.AdviceBinding
to org.jboss.aop.AspectManager
.
org.jboss.aop.InstanceAdvisor
.
Method Summary | |
---|---|
DynamicTransformationObserver |
getDynamicTransformationObserver(javassist.CtClass clazz)
Returns a dynamic transformation observer to be notified of the dynamic events during the clazz transformation. |
org.jboss.aop.InterceptorChainObserver |
getInterceptorChainObserver(Class clazz)
Return an interceptor chain observer for clazz . |
JoinpointClassifier |
getJoinpointClassifier()
Returns a joinpoint classifier compatible to the strategy. |
void |
interceptorChainsUpdated()
Notifies the strategy that one or more interceptor chains in the system may have been updated. |
Method Detail |
---|
org.jboss.aop.InterceptorChainObserver getInterceptorChainObserver(Class clazz)
clazz
.
This observer is notified of any changes to an interceptor chain
related to clazz
.
clazz
- the clazz
whose interceptor chains will
be observed by the observer returned.
clazz
. May
return null if the strategy doesn't require an observer at all.void interceptorChainsUpdated()
JoinpointClassifier getJoinpointClassifier()
org.jboss.aop.instrument.Instrumentor
instances
to classify joinpoints. This classification is fundamental to
instrumentation algorithm to decide what to do to a joinpoint:
prepare for future interception instrumentation or
instrument for interception.
org.jboss.aop.instrument.JoinpointClassifier
.DynamicTransformationObserver getDynamicTransformationObserver(javassist.CtClass clazz)
clazz
transformation.
clazz
- the clazz whose transformation must be observed.DynamicTransformationObserver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |