de.intarsys.tools.reflect
Interface IAccessHandlerAccessibility
public interface IAccessHandlerAccessibility
An object supporting handling reflective calls to fields of a delegate.
Method Summary |
int |
getAccessMode(java.lang.Object receiver,
java.lang.String name)
Query the access state of the property name within the
receiver . |
NONE
static final int NONE
- See Also:
- Constant Field Values
READONLY
static final int READONLY
- See Also:
- Constant Field Values
READWRITE
static final int READWRITE
- See Also:
- Constant Field Values
WRITEONLY
static final int WRITEONLY
- See Also:
- Constant Field Values
getAccessMode
int getAccessMode(java.lang.Object receiver,
java.lang.String name)
throws FieldAccessException
- Query the access state of the property
name
within the
receiver
.
- Parameters:
receiver
- The object hosting the field.name
- The name of the field to get.
- Returns:
- The current access state (one of NONE, READONLY, READWRITE or
WRITEONLY)
- Throws:
FieldException
FieldAccessException