Table of Contents

Class ProtectionDomain

Namespace
Java.Security
Assembly
MASES.JNet.dll
public class ProtectionDomain : JVMBridgeBase<ProtectionDomain>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<ProtectionDomain>
ProtectionDomain
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ProtectionDomain>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ProtectionDomain>.IsAssignableFrom<T>()
JVMBridgeBase<ProtectionDomain>.Execute<T>(params T[])
JVMBridgeBase<ProtectionDomain>.DynBridgeClazz
JVMBridgeBase<ProtectionDomain>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ProtectionDomain()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ProtectionDomain()

ProtectionDomain(CodeSource, PermissionCollection)

public ProtectionDomain(CodeSource arg0, PermissionCollection arg1)

Parameters

arg0 CodeSource

CodeSource

arg1 PermissionCollection

PermissionCollection

ProtectionDomain(CodeSource, PermissionCollection, ClassLoader, Principal[])

public ProtectionDomain(CodeSource arg0, PermissionCollection arg1, ClassLoader arg2, Principal[] arg3)

Parameters

arg0 CodeSource

CodeSource

arg1 PermissionCollection

PermissionCollection

arg2 ClassLoader

ClassLoader

arg3 Principal[]

Principal

ProtectionDomain(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public ProtectionDomain(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ClassLoader

public ClassLoader ClassLoader { get; }

Property Value

ClassLoader

CodeSource

public CodeSource CodeSource { get; }

Property Value

CodeSource

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Permissions

public PermissionCollection Permissions { get; }

Property Value

PermissionCollection

Principals

public Principal[] Principals { get; }

Property Value

Principal[]

Methods

Implies(Permission)

public bool Implies(Permission arg0)

Parameters

arg0 Permission

Permission

Returns

bool

bool

StaticPermissionsOnly()

public bool StaticPermissionsOnly()

Returns

bool

bool