public final class ServiceProviderLocator extends Object
getProvider(Class)
method that
return an instance of Prolog Provider from the given class. Alternatively can
be used getProvider()
for create and return a PrologProvider
using Java Platform discovery pattern.Modifier and Type | Method and Description |
---|---|
static PrologProvider |
getProvider()
Create and return an instance of Prolog Provider using Java Platform
discovery pattern.
|
static PrologProvider |
getProvider(Class<?> providerClass)
Create and return an instance of Prolog Provider from the given class.
|
static PrologProvider |
getProvider(String className)
Create and return an instance of Prolog Provider using the Prolog Provider
class name.
|
public static PrologProvider getProvider()
public static PrologProvider getProvider(String className)
public static PrologProvider getProvider(Class<?> providerClass)
providerClass
- Prolog Provider class used to create a new instance.Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.