OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [security/] [Policy.h] - Blame information for rev 841

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_security_Policy__
5
#define __java_security_Policy__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
extern "Java"
11
{
12
  namespace java
13
  {
14
    namespace security
15
    {
16
        class CodeSource;
17
        class Permission;
18
        class PermissionCollection;
19
        class Policy;
20
        class ProtectionDomain;
21
    }
22
  }
23
}
24
 
25
class java::security::Policy : public ::java::lang::Object
26
{
27
 
28
public:
29
  Policy();
30
  static ::java::security::Policy * getPolicy();
31
  static void setPolicy(::java::security::Policy *);
32
private:
33
  static void setup(::java::security::Policy *);
34
public: // actually package-private
35
  static ::java::security::Policy * getCurrentPolicy();
36
  static jboolean isLoaded();
37
public:
38
  virtual ::java::security::PermissionCollection * getPermissions(::java::security::CodeSource *) = 0;
39
  virtual ::java::security::PermissionCollection * getPermissions(::java::security::ProtectionDomain *);
40
  virtual jboolean implies(::java::security::ProtectionDomain *, ::java::security::Permission *);
41
  virtual void refresh() = 0;
42
private:
43
  static ::java::security::Policy * currentPolicy;
44
  ::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) pd2pc;
45
public:
46
  static ::java::lang::Class class$;
47
};
48
 
49
#endif // __java_security_Policy__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.