public class HotSwapStrategy extends Object implements DynamicAOPStrategy
DynamicAOPStrategy
Constructor and Description |
---|
HotSwapStrategy(HotSwapper hotSwapper)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DynamicTransformationObserver |
getDynamicTransformationObserver(javassist.CtClass clazz)
Returns a dynamic transformation observer for
clazz . |
org.jboss.aop.InterceptorChainObserver |
getInterceptorChainObserver(Class<?> clazz)
Returns an interceptor chain observer for
clazz . |
JoinpointClassifier |
getJoinpointClassifier()
Returns a
org.jboss.aop.instrument.JoinpointFullClassifier
instance. |
void |
interceptorChainsUpdated()
Notifies the strategy that one or more interceptor chains in the
system may have been updated.
|
public HotSwapStrategy(HotSwapper hotSwapper)
hotSwapper
- a hot swapper is necessary for this strategy.public void interceptorChainsUpdated()
interceptorChainsUpdated
in interface DynamicAOPStrategy
DynamicAOPStrategy.interceptorChainsUpdated()
public JoinpointClassifier getJoinpointClassifier()
org.jboss.aop.instrument.JoinpointFullClassifier
instance.getJoinpointClassifier
in interface DynamicAOPStrategy
org.jboss.aop.instrument.JoinpointClassifier
.DynamicAOPStrategy.getJoinpointClassifier()
public DynamicTransformationObserver getDynamicTransformationObserver(javassist.CtClass clazz)
clazz
.getDynamicTransformationObserver
in interface DynamicAOPStrategy
clazz
- the clazz whose transformation must be observed.DynamicAOPStrategy.getDynamicTransformationObserver(javassist.CtClass)
public org.jboss.aop.InterceptorChainObserver getInterceptorChainObserver(Class<?> clazz)
clazz
.getInterceptorChainObserver
in interface DynamicAOPStrategy
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.DynamicAOPStrategy.getInterceptorChainObserver(java.lang.Class<?>)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.