Table of Contents

Class ServiceLoader<S>

Namespace
Java.Util
Assembly
MASES.JNet.dll
public class ServiceLoader<S> : Iterable<S>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<S>, IEnumerable, IAsyncEnumerable<S>, IIterable<S>

Type Parameters

S
Inheritance
JVMBridgeBase
JVMBridgeBase<Iterable<S>>
JVMBridgeBaseEnumerable<Iterable<S>>
JVMBridgeBaseEnumerable<Iterable<S>, S>
ServiceLoader<S>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
IEnumerableExtension
Inherited Members
JVMBridgeBaseEnumerable<Iterable<S>, S>.GetEnumerator()
JVMBridgeBaseEnumerable<Iterable<S>>.GetEnumerator()
JVMBridgeBase<Iterable<S>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Iterable<S>>.IsAssignableFrom<T>()
JVMBridgeBase<Iterable<S>>.Execute<T>(params T[])
JVMBridgeBase<Iterable<S>>.DynBridgeClazz
JVMBridgeBase<Iterable<S>>.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

ServiceLoader()

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

public ServiceLoader()

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

FindFirst()

public Optional<S> FindFirst()

Returns

Optional<S>

Optional

Iterator()

public Iterator<S> Iterator()

Returns

Iterator<S>

Iterator

Load(Class)

public static ServiceLoader<S> Load(Class arg0)

Parameters

arg0 Class

Class

Returns

ServiceLoader<S>

ServiceLoader

Load(Class, ClassLoader)

public static ServiceLoader<S> Load(Class arg0, ClassLoader arg1)

Parameters

arg0 Class

Class

arg1 ClassLoader

ClassLoader

Returns

ServiceLoader<S>

ServiceLoader

Load(ModuleLayer, Class)

public static ServiceLoader<S> Load(ModuleLayer arg0, Class arg1)

Parameters

arg0 ModuleLayer

ModuleLayer

arg1 Class

Class

Returns

ServiceLoader<S>

ServiceLoader

LoadInstalled(Class)

public static ServiceLoader<S> LoadInstalled(Class arg0)

Parameters

arg0 Class

Class

Returns

ServiceLoader<S>

ServiceLoader

Reload()

public void Reload()

Operators

implicit operator ServiceLoader(ServiceLoader<S>)

Converter from ServiceLoader<S> to ServiceLoader

public static implicit operator ServiceLoader(ServiceLoader<S> t)

Parameters

t ServiceLoader<S>

Returns

ServiceLoader