#include <java_lang_reflect_AccessibleObject.h>
Inheritance diagram for java::lang::reflect::AccessibleObject:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::java::lang::reflect::AccessibleObject > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::reflect::AccessibleObject > > | array2D |
Public Member Functions | |
| AccessibleObject (::xmog_dummy _use_java_ctor,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) | |
| Constructor: only used by the Java Virtual Machine. | |
| virtual bool | isAccessible (::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Get the value of the accessible flag for this object. | |
| virtual void | setAccessible (bool flag,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Set the accessible flag for this object to the indicated boolean value. | |
Static Public Member Functions | |
| static void | setAccessible (const ::xmog_java_array_template< ::java::lang::reflect::AccessibleObject > &_array, bool flag,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
Convenience method to set the accessible flag for an array of objects with a single security check (for efficiency). | |
It provides the ability to flag a reflected object as suppressing default Java language access control checks when it is used. The access checks--for public, default (package) access, protected, and private members--are performed when Fields, Methods or Constructors are used to set or get fields, to invoke methods, or to create and initialize new instances of classes, respectively.
Setting the accessible flag in a reflected object permits sophisticated applications with sufficient privilege, such as Java Object Serialization or other persistence mechanisms, to manipulate objects in a manner that would normally be prohibited.
|
||||||||||||||||
|
Constructor: only used by the Java Virtual Machine.
|
|
||||||||||||
|
Get the value of the
|
|
||||||||||||||||||||
|
Convenience method to set the
First, if there is a security manager, its
A
|
|
||||||||||||||||
|
Set the
A value of
First, if there is a security manager, its
A
A
|
1.4.1