Package | Description |
---|---|
org.jboss.aop | |
org.jboss.aop.advice | |
org.jboss.aop.array | |
org.jboss.aop.joinpoint | |
org.jboss.aop.proxy | |
org.jboss.aop.proxy.container | |
org.jboss.aop.standalone |
Modifier and Type | Field and Description |
---|---|
protected Interceptor[][] |
Advisor.constructionInterceptors
Deprecated.
Use constructorInfos instead
|
protected Interceptor[][] |
Advisor.constructorInterceptors
Deprecated.
Use constructorInfos instead
|
Interceptor[] |
JoinPointInfo.interceptors
Deprecated.
Use the accessors. Only public for backwards compatiblity with EJB3
|
Modifier and Type | Field and Description |
---|---|
protected HashMap<AspectDefinition,Map<String,Interceptor>> |
Advisor.adviceInterceptors
Contains all the interceptor instances applied to this context.
|
protected ArrayList<Interceptor> |
GeneratedInstanceAdvisorMixin.appendedInterceptors |
protected ArrayList<Interceptor> |
ClassInstanceAdvisor.appendedInterceptors |
protected ArrayList<Interceptor> |
GeneratedInstanceAdvisorMixin.insertedInterceptors |
protected ArrayList<Interceptor> |
ClassInstanceAdvisor.insertedInterceptors |
Modifier and Type | Method and Description |
---|---|
Interceptor |
GeneratedInstanceAdvisorMixin.InstanceInterceptorFactory.create(Advisor advisor,
Joinpoint joinpoint) |
Interceptor |
Advisor.getAdviceInterceptor(AspectDefinition def,
String adviceName,
Joinpoint joinpoint) |
Interceptor[][] |
Advisor.getConstructionInterceptors()
Deprecated.
Use getConstructionInfos instead
|
Interceptor[][] |
Advisor.getConstructorInterceptors()
Deprecated.
Use getConstructorInfos instead
|
Interceptor[][] |
ClassAdvisor.getFieldReadInterceptors()
Deprecated.
use getFieldReadInfos instead
|
Interceptor[][] |
ClassAdvisor.getFieldWriteInterceptors()
Deprecated.
use getFieldWriteInfos instead
|
Interceptor[] |
GeneratedInstanceAdvisorMixin.getInterceptors() |
Interceptor[] |
InstanceAdvisor.getInterceptors()
Returns the interceptor chain of the advised instance.
|
Interceptor[] |
ClassInstanceAdvisor.getInterceptors() |
Interceptor[] |
JoinPointInfo.getInterceptors() |
Interceptor[] |
GeneratedInstanceAdvisorMixin.getInterceptors(Interceptor[] advisorChain)
Called by the advisor
|
Interceptor[] |
InstanceAdvisor.getInterceptors(Interceptor[] baseChain)
Merges the advised instance interceptor chain with
baseChain . |
Interceptor[] |
ClassInstanceAdvisor.getInterceptors(Interceptor[] advisorChain)
Called by the advisor
|
Interceptor[] |
GeneratedInstanceAdvisorMixin.getWrappers(Interceptor[] advisorChain)
Called by the advisor
|
Modifier and Type | Method and Description |
---|---|
ArrayList<Interceptor> |
JoinPointInfo.getInterceptorChain() |
Modifier and Type | Method and Description |
---|---|
void |
Advisor.addAdviceInterceptor(AspectDefinition def,
String adviceName,
Interceptor interceptor,
Joinpoint joinpoint) |
void |
GeneratedInstanceAdvisorMixin.appendInterceptor(Interceptor interceptor) |
void |
InstanceAdvisor.appendInterceptor(Interceptor interceptor)
Appends an interceptor to the end of the instance's interceptor chain.
|
void |
ClassInstanceAdvisor.appendInterceptor(Interceptor interceptor) |
void |
GeneratedInstanceAdvisorMixin.appendInterceptor(int index,
Interceptor interceptor) |
void |
InstanceAdvisor.appendInterceptor(int index,
Interceptor interceptor)
Appends an interceptor at position
index of the appended instance's
interceptor chain. |
void |
ClassInstanceAdvisor.appendInterceptor(int index,
Interceptor interceptor) |
boolean |
JoinPointInfo.equalChains(Interceptor[] otherInterceptors) |
Interceptor[] |
GeneratedInstanceAdvisorMixin.getInterceptors(Interceptor[] advisorChain)
Called by the advisor
|
Interceptor[] |
InstanceAdvisor.getInterceptors(Interceptor[] baseChain)
Merges the advised instance interceptor chain with
baseChain . |
Interceptor[] |
ClassInstanceAdvisor.getInterceptors(Interceptor[] advisorChain)
Called by the advisor
|
Interceptor[] |
GeneratedInstanceAdvisorMixin.getWrappers(Interceptor[] advisorChain)
Called by the advisor
|
void |
GeneratedInstanceAdvisorMixin.insertInterceptor(Interceptor interceptor) |
void |
InstanceAdvisor.insertInterceptor(Interceptor interceptor)
Inserts an interceptor at the beginning of the instance's interceptor chain.
|
void |
ClassInstanceAdvisor.insertInterceptor(Interceptor interceptor) |
void |
GeneratedInstanceAdvisorMixin.insertInterceptor(int index,
Interceptor interceptor) |
void |
InstanceAdvisor.insertInterceptor(int index,
Interceptor interceptor)
Inserts an interceptor at position
index of the inserted instance's
interceptor chain. |
void |
ClassInstanceAdvisor.insertInterceptor(int index,
Interceptor interceptor) |
protected void |
ClassAdvisor.resolveFieldPointcut(FieldInfo[] newFieldInfos,
Interceptor[][] interceptors,
AdviceBinding binding,
boolean write) |
protected void |
GeneratedClassAdvisor.resolveFieldPointcut(FieldInfo[] newFieldInfos,
Interceptor[][] fieldInterceptors,
AdviceBinding binding,
boolean write) |
void |
JoinPointInfo.setInterceptors(Interceptor[] interceptors) |
Modifier and Type | Method and Description |
---|---|
protected void |
Advisor.createInterceptorChain(InterceptorFactory[] factories,
ArrayList<Interceptor> newinterceptors,
Joinpoint joinpoint) |
Constructor and Description |
---|
CallerConstructorInfo(Advisor advisor,
Class<?> calledClass,
Constructor<?> called,
long calledConHash,
Method wrappingMethod,
Interceptor[] in,
Class<?> clazz) |
CallerMethodInfo(Advisor advisor,
Class<?> calledClass,
Method m,
long calledMethodHash,
Interceptor[] in,
Class<?> clazz) |
ConByConInfo(Advisor advisor,
Class<?> calledClass,
Class<?> callingClass,
int callingIndex,
Constructor<?> called,
long calledConHash,
Method wrappingMethod,
Interceptor[] in) |
ConByMethodInfo(Advisor advisor,
Class<?> calledClass,
Method callingMethod,
long callingMethodHash,
Constructor<?> c,
long calledConHash,
Method wrappingMethod,
Interceptor[] in)
Create a new ConByMethodJoinPont.
|
MethodByConInfo(Advisor advisor,
Class<?> calledClass,
Class<?> callingClass,
int callingIndex,
Method m,
long calledMethodHash,
Interceptor[] in) |
MethodByMethodInfo(Advisor advisor,
Class<?> calledClass,
Method m,
Method callingMethod,
long callingMethodHash,
long calledMethodHash,
Interceptor[] in) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAdvice
Comment
|
class |
CFlowInterceptor
Comment
|
class |
GeneratedAdvisorInterceptor
Special interceptor wrapping the interceptor factory, so that generated advisors have
all the information they need about the contained advices for generating the invocation
methods.
|
class |
PerInstanceAdvice
Comment
|
class |
PerInstanceInterceptor
Comment
|
class |
PerJoinpointAdvice
Comment
|
class |
PerJoinpointInterceptor
Comment
|
Modifier and Type | Method and Description |
---|---|
static Interceptor[] |
PrecedenceSorter.applyPrecedence(Interceptor[] interceptors,
AspectManager manager) |
Interceptor |
AdviceFactory.create(Advisor advisor,
Joinpoint joinpoint) |
Interceptor |
GenericInterceptorFactory.create(Advisor advisor,
Joinpoint joinpoint) |
Interceptor |
GeneratedAdvisorInterceptor.create(Advisor advisor,
Joinpoint joinpoint) |
Interceptor |
ScopedInterceptorFactory.create(Advisor advisor,
Joinpoint joinpoint) |
Interceptor |
InterceptorFactory.create(Advisor advisor,
Joinpoint joinpoint)
Creates an interceptor that represents this advice and that delegates
execution to this advice.
|
static Interceptor |
PerJoinpointInterceptor.createInterceptor(Advisor advisor,
Joinpoint joinpoint,
AspectDefinition def) |
static Interceptor |
PerJoinpointAdvice.createInterceptor(Advisor advisor,
Joinpoint joinpoint,
AspectDefinition def,
String adviceName) |
Interceptor[] |
AdviceStack.createInterceptors() |
Interceptor[] |
AdviceStack.createInterceptors(Advisor advisor,
Joinpoint jp) |
static Interceptor |
PerClassAdvice.generate(Joinpoint joinpoint,
Advisor advisor,
String adviceName,
AspectDefinition def) |
static Interceptor |
PerVmAdvice.generateInterceptor(Joinpoint joinpoint,
Object aspect,
String adviceName) |
static Interceptor |
PerVmAdvice.generateOptimized(Joinpoint joinpoint,
AspectManager manager,
String adviceName,
AspectDefinition a) |
Interceptor |
PerJoinpointInterceptor.getAspectInstance(InstanceAdvisor ia) |
Interceptor |
PerInstanceInterceptor.getAspectInstance(InstanceAdvisor ia) |
Modifier and Type | Method and Description |
---|---|
static Interceptor[] |
PrecedenceSorter.applyPrecedence(Interceptor[] interceptors,
AspectManager manager) |
Constructor and Description |
---|
CFlowInterceptor(String cflowString,
ASTCFlowExpression expr,
Interceptor[] chain) |
Modifier and Type | Method and Description |
---|---|
static Interceptor[] |
ArrayAdvisor.getReadInterceptors() |
static Interceptor[] |
ArrayAdvisor.getWriteInterceptors() |
Modifier and Type | Method and Description |
---|---|
Invocation |
ArrayElementInvocation.getWrapper(Interceptor[] newchain) |
Constructor and Description |
---|
ArrayElementInvocation(Interceptor[] interceptors,
Object array,
int index) |
ArrayElementReadInvocation(Interceptor[] interceptors,
Object array,
int index) |
ArrayElementWriteInvocation(Interceptor[] interceptors,
Object array,
int index) |
BooleanArrayElementReadInvocation(Interceptor[] interceptors,
boolean[] target,
int index) |
BooleanArrayElementWriteInvocation(Interceptor[] interceptors,
boolean[] target,
int index,
boolean value) |
ByteArrayElementReadInvocation(Interceptor[] interceptors,
byte[] target,
int index) |
ByteArrayElementWriteInvocation(Interceptor[] interceptors,
byte[] target,
int index,
byte value) |
CharArrayElementReadInvocation(Interceptor[] interceptors,
char[] target,
int index) |
CharArrayElementWriteInvocation(Interceptor[] interceptors,
char[] target,
int index,
char value) |
DoubleArrayElementReadInvocation(Interceptor[] interceptors,
double[] target,
int index) |
DoubleArrayElementWriteInvocation(Interceptor[] interceptors,
double[] target,
int index,
double value) |
FloatArrayElementReadInvocation(Interceptor[] interceptors,
float[] target,
int index) |
FloatArrayElementWriteInvocation(Interceptor[] interceptors,
float[] target,
int index,
float value) |
IntArrayElementReadInvocation(Interceptor[] interceptors,
int[] target,
int index) |
IntArrayElementWriteInvocation(Interceptor[] interceptors,
int[] target,
int index,
int value) |
LongArrayElementReadInvocation(Interceptor[] interceptors,
long[] target,
int index) |
LongArrayElementWriteInvocation(Interceptor[] interceptors,
long[] target,
int index,
long value) |
ObjectArrayElementReadInvocation(Interceptor[] interceptors,
Object[] target,
int index) |
ObjectArrayElementWriteInvocation(Interceptor[] interceptors,
Object[] target,
int index,
Object value) |
ShortArrayElementReadInvocation(Interceptor[] interceptors,
short[] target,
int index) |
ShortArrayElementWriteInvocation(Interceptor[] interceptors,
short[] target,
int index,
short value) |
Modifier and Type | Field and Description |
---|---|
protected Interceptor[] |
InvocationBase.interceptors |
Modifier and Type | Method and Description |
---|---|
Interceptor[] |
Invocation.getInterceptors() |
Interceptor[] |
InvocationBase.getInterceptors()
This used to be final, but I had to get rid of that since I need to
lazily initialise the interceptors from the generated joinpoint/invocation classes
|
Modifier and Type | Method and Description |
---|---|
Invocation |
MethodCalledByMethodInvocation.getWrapper(Interceptor[] newchain)
Returns a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Invocation |
FieldReadInvocation.getWrapper(Interceptor[] newchain)
Get a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Invocation |
ConstructorCalledByConstructorInvocation.getWrapper(Interceptor[] newchain)
Returns a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Invocation |
Invocation.getWrapper(Interceptor[] newchain)
Get a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Invocation |
FieldWriteInvocation.getWrapper(Interceptor[] newchain)
Get a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Invocation |
ConstructorCalledByMethodInvocation.getWrapper(Interceptor[] newchain)
Returns a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Invocation |
MethodCalledByConstructorInvocation.getWrapper(Interceptor[] newchain)
Returns a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Invocation |
ConstructorInvocation.getWrapper(Interceptor[] newchain)
Returns a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Invocation |
ConstructionInvocation.getWrapper(Interceptor[] newchain)
Returns a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Invocation |
MethodInvocation.getWrapper(Interceptor[] newchain)
Returns a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Object |
Invocation.invokeNext(Interceptor[] newInterceptors)
Invoke on the next interceptor in the chain.
|
Object |
InvocationBase.invokeNext(Interceptor[] newInterceptors)
Invoke on the next interceptor in the chain.
|
Constructor and Description |
---|
ProxyMethodInvocation(MethodMapped mapped,
Interceptor[] interceptors) |
ProxyMethodInvocation(MethodMapped mapped,
MethodInfo info,
Interceptor[] interceptors) |
Modifier and Type | Method and Description |
---|---|
Interceptor[] |
MarshalledProxyAdvisor.getInterceptors() |
Interceptor[] |
InstanceProxyContainer.getInterceptors()
Not implemented InstanceAdvisor method, we should be using the domain
|
Interceptor[] |
MarshalledProxyAdvisor.getInterceptors(Interceptor[] baseChain) |
Interceptor[] |
InstanceProxyContainer.getInterceptors(Interceptor[] baseChain)
Not implemented InstanceAdvisor method, we should be using the domain
|
Modifier and Type | Method and Description |
---|---|
void |
MarshalledProxyAdvisor.appendInterceptor(Interceptor interceptor) |
void |
InstanceProxyContainer.appendInterceptor(Interceptor interceptor)
Not implemented InstanceAdvisor method, we should be using the domain
|
void |
MarshalledProxyAdvisor.appendInterceptor(int index,
Interceptor interceptor) |
void |
InstanceProxyContainer.appendInterceptor(int index,
Interceptor interceptor)
Not implemented InstanceAdvisor method, we should be using the domain
|
Interceptor[] |
MarshalledProxyAdvisor.getInterceptors(Interceptor[] baseChain) |
Interceptor[] |
InstanceProxyContainer.getInterceptors(Interceptor[] baseChain)
Not implemented InstanceAdvisor method, we should be using the domain
|
void |
MarshalledProxyAdvisor.insertInterceptor(Interceptor interceptor) |
void |
InstanceProxyContainer.insertInterceptor(Interceptor interceptor)
Not implemented InstanceAdvisor method, we should be using the domain
|
void |
MarshalledProxyAdvisor.insertInterceptor(int index,
Interceptor interceptor) |
void |
InstanceProxyContainer.insertInterceptor(int index,
Interceptor interceptor)
Not implemented InstanceAdvisor method, we should be using the domain
|
Constructor and Description |
---|
ContainerProxyMethodInvocation(MethodInfo info,
Interceptor[] interceptors,
AspectManaged proxy) |
Modifier and Type | Method and Description |
---|---|
static void |
XmlReport.outputChain(int indent,
PrintWriter pw,
Interceptor[] chain) |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.