|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MemberAccess
This interface provides a hook for preparing for accessing members of objects. The Java2 version of this method can allow access to otherwise inaccessable members, such as private fields.
Method Summary | |
---|---|
boolean |
isAccessible(Map<String,Object> context,
Object target,
Member member,
String propertyName)
Returns true if the given member is accessible or can be made accessible by this object. |
void |
restore(Map<String,Object> context,
Object target,
Member member,
String propertyName,
Object state)
Restores the member from the previous setup call. |
Object |
setup(Map<String,Object> context,
Object target,
Member member,
String propertyName)
Sets the member up for accessibility |
Method Detail |
---|
Object setup(Map<String,Object> context, Object target, Member member, String propertyName)
void restore(Map<String,Object> context, Object target, Member member, String propertyName, Object state)
boolean isAccessible(Map<String,Object> context, Object target, Member member, String propertyName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |