public interface FieldAccess extends Joinpoint
A field access is a joinpoint and can be intercepted by a field interceptor.
FieldInterceptor| Modifier and Type | Field and Description |
|---|---|
static int |
READ
The read access type (see
getAccessType()). |
static int |
WRITE
The write access type (see
getAccessType()). |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessType()
Returns the access type.
|
Field |
getField()
Gets the field being accessed.
|
Object |
getValueToSet()
Gets the value that must be set to the field.
|
getStaticPart, getThis, proceedstatic final int READ
getAccessType()).static final int WRITE
getAccessType()).Field getField()
This method is a frienly implementation of the Joinpoint.getStaticPart() method (same result).
Object getValueToSet()
This value can be intercepted and changed by a field interceptor.
int getAccessType()
Copyright © 2009-2014 Oracle Corporation. All Rights Reserved.