SecurityManager.h 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_lang_SecurityManager__
  3. #define __java_lang_SecurityManager__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace net
  12. {
  13. class InetAddress;
  14. }
  15. namespace security
  16. {
  17. class Permission;
  18. }
  19. }
  20. }
  21. class java::lang::SecurityManager : public ::java::lang::Object
  22. {
  23. public:
  24. SecurityManager();
  25. virtual jboolean getInCheck();
  26. public: // actually protected
  27. virtual JArray< ::java::lang::Class * > * getClassContext();
  28. virtual ::java::lang::ClassLoader * currentClassLoader();
  29. virtual ::java::lang::Class * currentLoadedClass();
  30. virtual jint classDepth(::java::lang::String *);
  31. virtual jint classLoaderDepth();
  32. virtual jboolean inClass(::java::lang::String *);
  33. virtual jboolean inClassLoader();
  34. public:
  35. virtual ::java::lang::Object * getSecurityContext();
  36. virtual void checkPermission(::java::security::Permission *);
  37. virtual void checkPermission(::java::security::Permission *, ::java::lang::Object *);
  38. virtual void checkCreateClassLoader();
  39. virtual void checkAccess(::java::lang::Thread *);
  40. virtual void checkAccess(::java::lang::ThreadGroup *);
  41. virtual void checkExit(jint);
  42. virtual void checkExec(::java::lang::String *);
  43. virtual void checkLink(::java::lang::String *);
  44. virtual void checkRead(::java::io::FileDescriptor *);
  45. virtual void checkRead(::java::lang::String *);
  46. virtual void checkRead(::java::lang::String *, ::java::lang::Object *);
  47. virtual void checkWrite(::java::io::FileDescriptor *);
  48. virtual void checkWrite(::java::lang::String *);
  49. virtual void checkDelete(::java::lang::String *);
  50. virtual void checkConnect(::java::lang::String *, jint);
  51. virtual void checkConnect(::java::lang::String *, jint, ::java::lang::Object *);
  52. virtual void checkListen(jint);
  53. virtual void checkAccept(::java::lang::String *, jint);
  54. virtual void checkMulticast(::java::net::InetAddress *);
  55. virtual void checkMulticast(::java::net::InetAddress *, jbyte);
  56. virtual void checkPropertiesAccess();
  57. virtual void checkPropertyAccess(::java::lang::String *);
  58. virtual jboolean checkTopLevelWindow(::java::lang::Object *);
  59. virtual void checkPrintJobAccess();
  60. virtual void checkSystemClipboardAccess();
  61. virtual void checkAwtEventQueueAccess();
  62. virtual void checkPackageAccess(::java::lang::String *);
  63. virtual void checkPackageDefinition(::java::lang::String *);
  64. virtual void checkSetFactory();
  65. virtual void checkMemberAccess(::java::lang::Class *, jint);
  66. virtual void checkSecurityAccess(::java::lang::String *);
  67. virtual ::java::lang::ThreadGroup * getThreadGroup();
  68. public: // actually package-private
  69. virtual void checkPackageList(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  70. static ::java::lang::SecurityManager * volatile current;
  71. public: // actually protected
  72. jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) inCheck;
  73. public:
  74. static ::java::lang::Class class$;
  75. };
  76. #endif // __java_lang_SecurityManager__