Class URLClassLoader
public class URLClassLoader : SecureClassLoader, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<ClassLoader>URLClassLoader
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<ClassLoader>.SExecuteWithSignatureArray<T>(IJavaType, string, string, params object[])JVMBridgeBase<ClassLoader>.IsAssignableFrom(IJavaType)JVMBridgeBase<ClassLoader>.IsAssignableFrom<T>()JVMBridgeBase<ClassLoader>.Execute<T>(params T[])JVMBridgeBase<ClassLoader>.DynBridgeClazzJVMBridgeBase<ClassLoader>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
URLClassLoader()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public URLClassLoader()
URLClassLoader(String, URL[], ClassLoader)
public URLClassLoader(String arg0, URL[] arg1, ClassLoader arg2)
Parameters
arg0
Stringarg1
URL[]arg2
ClassLoader
URLClassLoader(String, URL[], ClassLoader, URLStreamHandlerFactory)
public URLClassLoader(String arg0, URL[] arg1, ClassLoader arg2, URLStreamHandlerFactory arg3)
Parameters
arg0
Stringarg1
URL[]arg2
ClassLoaderarg3
URLStreamHandlerFactory
URLClassLoader(URL[])
public URLClassLoader(URL[] arg0)
Parameters
URLClassLoader(URL[], ClassLoader)
public URLClassLoader(URL[] arg0, ClassLoader arg1)
Parameters
arg0
URL[]arg1
ClassLoader
URLClassLoader(URL[], ClassLoader, URLStreamHandlerFactory)
public URLClassLoader(URL[] arg0, ClassLoader arg1, URLStreamHandlerFactory arg2)
Parameters
arg0
URL[]arg1
ClassLoaderarg2
URLStreamHandlerFactory
URLClassLoader(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 URLClassLoader(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
URLs
public URL[] URLs { get; }
Property Value
- URL[]
Methods
Close()
public void Close()
Exceptions
FindResource(String)
public URL FindResource(String arg0)
Parameters
Returns
FindResources(String)
public Enumeration<URL> FindResources(String arg0)
Parameters
Returns
Exceptions
NewInstance(URL[])
public static URLClassLoader NewInstance(URL[] arg0)
Parameters
Returns
NewInstance(URL[], ClassLoader)
public static URLClassLoader NewInstance(URL[] arg0, ClassLoader arg1)
Parameters
arg0
URL[]arg1
ClassLoader
Returns
Operators
implicit operator Closeable(URLClassLoader)
Converter from URLClassLoader to Closeable
public static implicit operator Closeable(URLClassLoader t)