Table of Contents

Class ClassLoader

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

ClassLoader()

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

[Obsolete("ClassLoader class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ClassLoader()

ClassLoader(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

[Obsolete("ClassLoader class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ClassLoader(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DefinedPackages

public Package[] DefinedPackages { get; }

Property Value

Package[]

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

Name

public String Name { get; }

Property Value

String

Parent

public ClassLoader Parent { get; }

Property Value

ClassLoader

PlatformClassLoader

public static ClassLoader PlatformClassLoader { get; }

Property Value

ClassLoader

SystemClassLoader

public static ClassLoader SystemClassLoader { get; }

Property Value

ClassLoader

UnnamedModule

public Module UnnamedModule { get; }

Property Value

Module

Methods

ClearAssertionStatus()

public void ClearAssertionStatus()

GetDefinedPackage(String)

public Package GetDefinedPackage(String arg0)

Parameters

arg0 String

String

Returns

Package

Package

GetResource(String)

public URL GetResource(String arg0)

Parameters

arg0 String

String

Returns

URL

URL

GetResourceAsStream(String)

public InputStream GetResourceAsStream(String arg0)

Parameters

arg0 String

String

Returns

InputStream

InputStream

GetResources(String)

public Enumeration<URL> GetResources(String arg0)

Parameters

arg0 String

String

Returns

Enumeration<URL>

Enumeration

Exceptions

IOException

GetSystemResource(String)

public static URL GetSystemResource(String arg0)

Parameters

arg0 String

String

Returns

URL

URL

GetSystemResourceAsStream(String)

public static InputStream GetSystemResourceAsStream(String arg0)

Parameters

arg0 String

String

Returns

InputStream

InputStream

GetSystemResources(String)

public static Enumeration<URL> GetSystemResources(String arg0)

Parameters

arg0 String

String

Returns

Enumeration<URL>

Enumeration

Exceptions

IOException

IsRegisteredAsParallelCapable()

public bool IsRegisteredAsParallelCapable()

Returns

bool

bool

LoadClass(String)

public Class LoadClass(String arg0)

Parameters

arg0 String

String

Returns

Class

Class

Exceptions

ClassNotFoundException

Resources(String)

public Stream<URL> Resources(String arg0)

Parameters

arg0 String

String

Returns

Stream<URL>

Stream

SetClassAssertionStatus(String, bool)

public void SetClassAssertionStatus(String arg0, bool arg1)

Parameters

arg0 String

String

arg1 bool

bool

SetDefaultAssertionStatus(bool)

public void SetDefaultAssertionStatus(bool arg0)

Parameters

arg0 bool

bool

SetPackageAssertionStatus(String, bool)

public void SetPackageAssertionStatus(String arg0, bool arg1)

Parameters

arg0 String

String

arg1 bool

bool