Table of Contents

Class AccessController

Namespace
Java.Security
Assembly
MASES.JNet.dll
public class AccessController : JVMBridgeBase<AccessController>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<AccessController>
AccessController
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AccessController>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AccessController>.IsAssignableFrom<T>()
JVMBridgeBase<AccessController>.Execute<T>(params T[])
JVMBridgeBase<AccessController>.DynBridgeClazz
JVMBridgeBase<AccessController>.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

AccessController()

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

public AccessController()

AccessController(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 AccessController(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Context

public static AccessControlContext Context { get; }

Property Value

AccessControlContext

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

Methods

CheckPermission(Permission)

public static void CheckPermission(Permission arg0)

Parameters

arg0 Permission

Permission

Exceptions

AccessControlException

DoPrivilegedWithCombiner<T>(PrivilegedAction<T>)

public static T DoPrivilegedWithCombiner<T>(PrivilegedAction<T> arg0)

Parameters

arg0 PrivilegedAction<T>

PrivilegedAction

Returns

T

T

Type Parameters

T

DoPrivilegedWithCombiner<T>(PrivilegedAction<T>, AccessControlContext, params Permission[])

public static T DoPrivilegedWithCombiner<T>(PrivilegedAction<T> arg0, AccessControlContext arg1, params Permission[] arg2)

Parameters

arg0 PrivilegedAction<T>

PrivilegedAction

arg1 AccessControlContext

AccessControlContext

arg2 Permission[]

Permission

Returns

T

T

Type Parameters

T

DoPrivilegedWithCombiner<T>(PrivilegedExceptionAction<T>)

public static T DoPrivilegedWithCombiner<T>(PrivilegedExceptionAction<T> arg0)

Parameters

arg0 PrivilegedExceptionAction<T>

PrivilegedExceptionAction

Returns

T

T

Type Parameters

T

Exceptions

PrivilegedActionException

DoPrivilegedWithCombiner<T>(PrivilegedExceptionAction<T>, AccessControlContext, params Permission[])

public static T DoPrivilegedWithCombiner<T>(PrivilegedExceptionAction<T> arg0, AccessControlContext arg1, params Permission[] arg2)

Parameters

arg0 PrivilegedExceptionAction<T>

PrivilegedExceptionAction

arg1 AccessControlContext

AccessControlContext

arg2 Permission[]

Permission

Returns

T

T

Type Parameters

T

Exceptions

PrivilegedActionException

DoPrivileged<T>(PrivilegedAction<T>)

public static T DoPrivileged<T>(PrivilegedAction<T> arg0)

Parameters

arg0 PrivilegedAction<T>

PrivilegedAction

Returns

T

T

Type Parameters

T

DoPrivileged<T>(PrivilegedAction<T>, AccessControlContext)

public static T DoPrivileged<T>(PrivilegedAction<T> arg0, AccessControlContext arg1)

Parameters

arg0 PrivilegedAction<T>

PrivilegedAction

arg1 AccessControlContext

AccessControlContext

Returns

T

T

Type Parameters

T

DoPrivileged<T>(PrivilegedAction<T>, AccessControlContext, params Permission[])

public static T DoPrivileged<T>(PrivilegedAction<T> arg0, AccessControlContext arg1, params Permission[] arg2)

Parameters

arg0 PrivilegedAction<T>

PrivilegedAction

arg1 AccessControlContext

AccessControlContext

arg2 Permission[]

Permission

Returns

T

T

Type Parameters

T

DoPrivileged<T>(PrivilegedExceptionAction<T>)

public static T DoPrivileged<T>(PrivilegedExceptionAction<T> arg0)

Parameters

arg0 PrivilegedExceptionAction<T>

PrivilegedExceptionAction

Returns

T

T

Type Parameters

T

Exceptions

PrivilegedActionException

DoPrivileged<T>(PrivilegedExceptionAction<T>, AccessControlContext)

public static T DoPrivileged<T>(PrivilegedExceptionAction<T> arg0, AccessControlContext arg1)

Parameters

arg0 PrivilegedExceptionAction<T>

PrivilegedExceptionAction

arg1 AccessControlContext

AccessControlContext

Returns

T

T

Type Parameters

T

Exceptions

PrivilegedActionException

DoPrivileged<T>(PrivilegedExceptionAction<T>, AccessControlContext, params Permission[])

public static T DoPrivileged<T>(PrivilegedExceptionAction<T> arg0, AccessControlContext arg1, params Permission[] arg2)

Parameters

arg0 PrivilegedExceptionAction<T>

PrivilegedExceptionAction

arg1 AccessControlContext

AccessControlContext

arg2 Permission[]

Permission

Returns

T

T

Type Parameters

T

Exceptions

PrivilegedActionException