|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aop.joinpoint.InvocationBase
org.jboss.aop.joinpoint.FieldInvocation
public abstract class FieldInvocation
This is a helper wrapper class for an Invocation object. It is used to add or get values or metadata that pertains to an AOP field access or field update.
| Field Summary | |
|---|---|
protected Field |
field
|
protected int |
index
|
| Fields inherited from class org.jboss.aop.joinpoint.InvocationBase |
|---|
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject |
| Constructor Summary | |
|---|---|
protected |
FieldInvocation(FieldInfo info,
Interceptor[] interceptors)
|
|
FieldInvocation(Field field,
int fieldIndex,
Interceptor[] interceptors)
|
protected |
FieldInvocation(Interceptor[] interceptors)
|
| Method Summary | ||
|---|---|---|
Field |
getField()
This is the field the invocation is accessing |
|
int |
getIndex()
This is an index into the Field[] array accessed through the ClassAdvisor |
|
Object |
getMetaData(Object group,
Object attr)
This method resolves metadata based on the context of the invocation. |
|
Object |
resolveAnnotation(Class<? extends Annotation> annotation)
This method resolves an annotation based on the context of the invocation. |
|
|
resolveTypedAnnotation(Class<T> annotation)
Abstraction for resolving an annotation so that it can be overriden from the Method, Constructor, Field, etc. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.aop.joinpoint.Invocation |
|---|
copy, getWrapper |
| Field Detail |
|---|
protected transient Field field
protected int index
| Constructor Detail |
|---|
public FieldInvocation(Field field,
int fieldIndex,
Interceptor[] interceptors)
protected FieldInvocation(Interceptor[] interceptors)
protected FieldInvocation(FieldInfo info,
Interceptor[] interceptors)
| Method Detail |
|---|
public Object resolveAnnotation(Class<? extends Annotation> annotation)
resolveAnnotation in interface InvocationresolveAnnotation in class InvocationBasepublic <T extends Annotation> T resolveTypedAnnotation(Class<T> annotation)
Invocation
resolveTypedAnnotation in interface InvocationresolveTypedAnnotation in class InvocationBase
public Object getMetaData(Object group,
Object attr)
getMetaData in interface InvocationgetMetaData in class InvocationBasepublic Field getField()
public int getIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||