org.jboss.aop
Class FieldInfo
java.lang.Object
org.jboss.aop.JoinPointInfo
org.jboss.aop.FieldInfo
- All Implemented Interfaces:
- FieldAccess, JoinPointBean
public class FieldInfo
- extends JoinPointInfo
- implements FieldAccess
Comment
- Version:
- $Revision$
- Author:
- Kabir Khan
Methods inherited from class org.jboss.aop.JoinPointInfo |
clear, cloneChains, equalChains, getAdviceString, getAdvisor, getClazz, getInterceptorChain, getInterceptorChainReadWriteLock, getInterceptors, getJoinpoint, hasAdvices, resetChainKeepInterceptors, resetInterceptors, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInterceptors |
FieldInfo
public FieldInfo()
FieldInfo
public FieldInfo(Advisor advisor,
boolean read)
FieldInfo
public FieldInfo(Class<?> clazz,
int index,
String fieldName,
long wrapperHash,
Advisor advisor,
boolean read)
internalGetJoinpoint
protected Joinpoint internalGetJoinpoint()
- Specified by:
internalGetJoinpoint
in class JoinPointInfo
copy
public JoinPointInfo copy()
- Specified by:
copy
in class JoinPointInfo
toString
public String toString()
- Overrides:
toString
in class Object
setIndex
public void setIndex(int index)
getIndex
public int getIndex()
setAdvisedField
public void setAdvisedField(Field advisedField)
getAdvisedField
@Deprecated
public Field getAdvisedField()
- Deprecated.
getField
public Field getField()
- Description copied from interface:
FieldAccess
- Gets the field being read or written
- Specified by:
getField
in interface FieldAccess
setWrapper
public void setWrapper(Method wrapper)
getWrapper
public Method getWrapper()
setRead
public void setRead(boolean read)
isRead
public boolean isRead()
- Description copied from interface:
FieldAccess
- Gets whether we are reading the field
- Specified by:
isRead
in interface FieldAccess
resolveAnnotation
public <T extends Annotation> T resolveAnnotation(Class<T> annotation)
- Description copied from interface:
JoinPointBean
- Resolves annotations on the particular joinpoint (field, constructor, method etc.)
- Specified by:
resolveAnnotation
in interface JoinPointBean
- Overrides:
resolveAnnotation
in class JoinPointInfo
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.